Muokkaa

Jaa


XamlTypeInvoker.SetMarkupExtensionHandler Property

Definition

Gets the handler to use when a XamlObjectWriter calls into an implemented MarkupExtension.

public:
 property EventHandler<System::Windows::Markup::XamlSetMarkupExtensionEventArgs ^> ^ SetMarkupExtensionHandler { EventHandler<System::Windows::Markup::XamlSetMarkupExtensionEventArgs ^> ^ get(); };
public EventHandler<System.Windows.Markup.XamlSetMarkupExtensionEventArgs> SetMarkupExtensionHandler { get; }
member this.SetMarkupExtensionHandler : EventHandler<System.Windows.Markup.XamlSetMarkupExtensionEventArgs>
Public ReadOnly Property SetMarkupExtensionHandler As EventHandler(Of XamlSetMarkupExtensionEventArgs)

Property Value

A handler implementation that handles this case.

Remarks

The event handler is based on EventHandler<TEventArgs> constrained with XamlSetMarkupExtensionEventArgs event data.

The value returned invokes the LookupSetMarkupExtensionHandler behavior of the XamlType that the XamlTypeInvoker is based on.

The return value is null for a XamlTypeInvoker that is based on an unknown XamlType.

Applies to