Class SerializationController
This class is used to serialize some important properties in PivotGrid control.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis.Serialization
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class SerializationController
Constructors
SerializationController()
Initializes a new instance of the SerializationController class.
Declaration
public SerializationController()
SerializationController(PivotGridControl)
Initializes a new instance of the SerializationController class.
Declaration
public SerializationController(PivotGridControl ctrl)
Parameters
Type | Name | Description |
---|---|---|
PivotGridControl | ctrl | The PivotGrid control. |
Properties
pivotGridControl
Gets or sets the PivotGrid control.
Declaration
public PivotGridControl pivotGridControl { get; set; }
Property Value
Type |
---|
PivotGridControl |
Methods
Deserialize(Stream)
De-serializes the PivotGrid based on the XML document contained by the specified Stream.
Declaration
public virtual void Deserialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Specifies the XML document to deserialize. |
Deserialize(Stream, DeserializationOptions)
De-serializes the PivotGrid based on the XML document of the specified Stream with
Declaration
public virtual void Deserialize(Stream stream, DeserializationOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Contains the XML document to deserialize. |
DeserializationOptions | options | Decides the type of operations such as sorting, filtering and etc to be de-serialized. |
Deserialize(String)
Deserializes the SfPivotGrid from the given XML string.
Declaration
public virtual void Deserialize(string xmlString)
Parameters
Type | Name | Description |
---|---|---|
System.String | xmlString | Contains the XML string content to deserialize. |
KnownTypes()
Declaration
public virtual Type[] KnownTypes()
Returns
Type |
---|
System.Type[] |
Serialize()
Serializes the SfPivotGrid properties to the given XML string.
Declaration
public virtual string Serialize()
Returns
Type |
---|
System.String |
Serialize(Stream)
Serializes the PivotGrid control to the XML document file that are stored in the specified Stream.
Declaration
public virtual void Serialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Specifies the stream used to write the XML document file. |
Serialize(Stream, SerializationOptions)
Serializes the PivotGrid with
Declaration
public virtual void Serialize(Stream stream, SerializationOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Specifies stream used to write XML document file. |
SerializationOptions | options | Specifies the |