XamlMember.ValueSerializer Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public XamlValueConverter<ValueSerializer> ValueSerializer { get; }

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 Remarks in TypeConverter; the same considerations apply to ValueSerializer.

.NET Framework
Available since 4.0
Return to top