Redigera

Dela via


XamlType.ValueSerializer Property

Definition

Gets a XamlValueConverter<TConverterBase> with ValueSerializer constraint that represents value serialization behavior for values of this XamlType.

public:
 property System::Xaml::Schema::XamlValueConverter<System::Windows::Markup::ValueSerializer ^> ^ ValueSerializer { System::Xaml::Schema::XamlValueConverter<System::Windows::Markup::ValueSerializer ^> ^ get(); };
public System.Xaml.Schema.XamlValueConverter<System.Windows.Markup.ValueSerializer> ValueSerializer { get; }
member this.ValueSerializer : System.Xaml.Schema.XamlValueConverter<System.Windows.Markup.ValueSerializer>
Public ReadOnly Property ValueSerializer As XamlValueConverter(Of ValueSerializer)

Property Value

A XamlValueConverter<TConverterBase> with ValueSerializer constraint that represents value serialization behavior for values of this XamlType; otherwise, null.

Remarks

If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupValueSerializer overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupValueSerializer on this type.

Applies to