XamlType.MarkupExtensionReturnType Property

.NET Framework (current version)

Gets a value that provides the type information for the returned ProvideValue of this XamlType, if it represents a markup extension.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public XamlType MarkupExtensionReturnType { get; }

Property Value

Type: System.Xaml.XamlType

A XamlType object for the return type for markup extension usage; otherwise, null, if this XamlType does not represent a markup extension.

This property is only relevant if this XamlType represents a markup extension (x:MarkupExtension is in the assignable types list).

If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupMarkupExtensionReturnType overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupMarkupExtensionReturnType on this type.

.NET Framework
Available since 4.0
Return to top