Editar

Compartilhar via


XamlType.LookupSetTypeConverterHandler Method

Definition

Returns a handler to use for type converter setting cases.

protected:
 virtual EventHandler<System::Windows::Markup::XamlSetTypeConverterEventArgs ^> ^ LookupSetTypeConverterHandler();
protected virtual EventHandler<System.Windows.Markup.XamlSetTypeConverterEventArgs> LookupSetTypeConverterHandler ();
abstract member LookupSetTypeConverterHandler : unit -> EventHandler<System.Windows.Markup.XamlSetTypeConverterEventArgs>
override this.LookupSetTypeConverterHandler : unit -> EventHandler<System.Windows.Markup.XamlSetTypeConverterEventArgs>
Protected Overridable Function LookupSetTypeConverterHandler () As EventHandler(Of XamlSetTypeConverterEventArgs)

Returns

A handler to use for type converter setting cases.

Remarks

The default implementation returns a value based on reading XamlSetTypeConverterAttribute. It can also check BaseType for the attribute if no attribute is found on the immediate underlying type. If a value is unavailable, it returns null.

Applies to