XamlType.Invoker Property

.NET Framework (current version)
 

Gets the XamlTypeInvoker implementation that is associated with this XamlType.

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

public XamlTypeInvoker Invoker { get; }

Property Value

Type: System.Xaml.Schema.XamlTypeInvoker

The XamlTypeInvoker implementation that is associated with this XamlType.

If you do not use the default internal CLR reflection technique for a XamlType, calling Invoker can invoke either LookupInvoker or a specific override of that method. For more information about return values and other behavior, see the documentation for LookupInvoker on this type.

If a LookupInvoker override returns null, or if the default implementation returns null because of lack of UnderlyingType for this XamlType, then Invoker returns XamlTypeInvoker.UnknownInvoker.

.NET Framework
Available since 4.0
Return to top
Show: