Editar

Compartilhar via


XamlValueConverter<TConverterBase>.ConverterInstance Property

Definition

Gets a created instance of the converter implementation.

public:
 property TConverterBase ConverterInstance { TConverterBase get(); };
public TConverterBase ConverterInstance { get; }
member this.ConverterInstance : 'ConverterBase
Public ReadOnly Property ConverterInstance As TConverterBase

Property Value

TConverterBase

A created instance of the converter implementation, or null.

Remarks

ConverterInstance calls the protected default implementation of CreateInstance to get its value (and might be accessing a stored value if ConverterInstance was already called once on this XamlValueConverter<TConverterBase>.

A XamlValueConverter<TConverterBase> can be constructed with a null implementation type, but such a XamlValueConverter<TConverterBase> will return null for ConverterInstance.

Applies to