XamlTypeInvoker.SetMarkupExtensionHandler Property

.NET Framework (current version)

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

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

public EventHandler<XamlSetMarkupExtensionEventArgs> SetMarkupExtensionHandler { get; }

Property Value

Type: System.EventHandler<XamlSetMarkupExtensionEventArgs>

A handler implementation that handles this case.

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.

.NET Framework
Available since 4.0
Return to top