Class SerializeXmlBehavior
Defines how to serialize property when style data is serialized to or from an XML stream. with System.Xml.Serialization.XmlSerializer.
Inheritance
System.Object
SerializeXmlBehavior
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public sealed class SerializeXmlBehavior : Enum
Fields
Default
Default. Serialize as string when type is simple. Using XmlSerializer for complex types or properties where the actual type is not known at compile-time (e.g. CellValue).
Declaration
public const SerializeXmlBehavior Default
Field Value
Type |
---|
SerializeXmlBehavior |
SerializeAsString
Serialize this property as string using FormatValue(Object) and ParseValue(String).
Declaration
public const SerializeXmlBehavior SerializeAsString
Field Value
Type |
---|
SerializeXmlBehavior |
SerializeWithXmlSerializer
Serialize this property using System.Xml.Serialization.XmlSerializer.
Declaration
public const SerializeXmlBehavior SerializeWithXmlSerializer
Field Value
Type |
---|
SerializeXmlBehavior |
Skip
Skip this property. Do not serialize.
Declaration
public const SerializeXmlBehavior Skip
Field Value
Type |
---|
SerializeXmlBehavior |