XamlMember.ValueSerializer Property

Definition

Gets a XamlValueConverter<TConverterBase> object, which is used for value serialization of XAML declared objects.

C#
public System.Xaml.Schema.XamlValueConverter<System.Windows.Markup.ValueSerializer> ValueSerializer { get; }

Property Value

A XamlValueConverter<TConverterBase> with ValueSerializer constraint on the generic.

Remarks

Calling ValueSerializer invokes LookupValueSerializer or a specific override of that method. This behavior occurs when the initial internal reflection logic has not already set the information.

Not all cases that return a non-null property value for ValueSerializer are necessarily a working ValueSerializer. See TypeConverter; the same considerations apply to ValueSerializer.

Applies to

產品 版本
.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