XamlType.Invoker Property

Definition

Gets the XamlTypeInvoker implementation that is associated with this XamlType.

public System.Xaml.Schema.XamlTypeInvoker Invoker { get; }

Property Value

The XamlTypeInvoker implementation that is associated with this XamlType.

Remarks

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.

Applies to