XamlType.MarkupExtensionReturnType Property


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

 property System::Xaml::XamlType ^ MarkupExtensionReturnType { System::Xaml::XamlType ^ get(); };
public System.Xaml.XamlType MarkupExtensionReturnType { get; }
member this.MarkupExtensionReturnType : System.Xaml.XamlType
Public ReadOnly Property MarkupExtensionReturnType As XamlType

Property Value


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.

Applies to