Class PivotGridSerializer
This class is used to serialize some important properties in SfPivotGrid control.
Inheritance
System.Object
PivotGridSerializer
Namespace: Syncfusion.UI.Xaml.PivotGrid
Assembly: Syncfusion.SfPivotGrid.UWP.dll
Syntax
public class PivotGridSerializer : Object
Constructors
PivotGridSerializer(SfPivotGrid)
Initializes a new instance of the PivotGridSerializer class.
Declaration
public PivotGridSerializer(SfPivotGrid pivotGrid)
Parameters
Type | Name | Description |
---|---|---|
SfPivotGrid | pivotGrid | The SfPivotGrid control. |
Properties
PivotGrid
Gets or sets the SfPivotGrid control.
Declaration
public SfPivotGrid PivotGrid { get; set; }
Property Value
Type |
---|
SfPivotGrid |
Methods
Deserialize(Stream)
Deserializes the SfPivotGrid from the given XML stream.
Declaration
public virtual void Deserialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Contains the XML document to deserialize. |
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. |
Serialize()
Serializes the SfPivotGrid properties to the given XML string.
Declaration
public virtual string Serialize()
Returns
Type |
---|
System.String |
Serialize(Stream)
Serializes the SfPivotGrid to the given XML stream.
Declaration
public virtual void Serialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Specifies stream used to write XML document file. |