Class PivotChartSerializer
This class is used to serialize some important properties in SfPivotChart control.
Inheritance
System.Object
PivotChartSerializer
Namespace: Syncfusion.UI.Xaml.PivotChart
Assembly: Syncfusion.SfPivotChart.UWP.dll
Syntax
public class PivotChartSerializer : Object
Constructors
PivotChartSerializer(SfPivotChart)
Initializes a new instance of the PivotChartSerializer class.
Declaration
public PivotChartSerializer(SfPivotChart pivotChart)
Parameters
Type | Name | Description |
---|---|---|
SfPivotChart | pivotChart | The SfPivotChart control. |
Properties
PivotChart
Gets or sets the SfPivotChart control.
Declaration
public SfPivotChart PivotChart { get; }
Property Value
Type |
---|
SfPivotChart |
Methods
Deserialize(Stream)
Deserialize the SfPivotChart 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)
Deserialize the SfPivotChart 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()
Serialize the SfPivotChart properties to the given XML string.
Declaration
public virtual string Serialize()
Returns
Type |
---|
System.String |
Serialize(Stream)
Serialize the SfPivotChart 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. |