XamlValueConverter<TConverterBase>.ConverterInstance Property

Definition

Gets a created instance of the converter implementation.

public TConverterBase ConverterInstance { get; }

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

Produto Versões
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10