Class SerializationOptions
Represents a class that provides options to serialize SfDataGrid settings.
Inheritance
Namespace: Syncfusion.UI.Xaml.DataGrid.Serialization
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class SerializationOptions : Object
Constructors
SerializationOptions()
Declaration
public SerializationOptions()
Properties
SerializeCaptionSummary
Gets or sets a value that indicates whether the CaptionSummaryRow should be serialized in SfDataGrid.
Declaration
public bool SerializeCaptionSummary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the CaptionSummaryRow is serialized; otherwise, false. The default is true. |
SerializeColumns
Gets or sets a value that indicates whether the columns should be serialized in SfDataGrid.
Declaration
public bool SerializeColumns { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the columns is serialized; otherwise, false. The default is true. |
SerializeDetailsViewDefinition
Gets or sets a value that indicates whether the DetailsViewDefinition should be serialized in SfDataGrid.
Declaration
public bool SerializeDetailsViewDefinition { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the stacked headers is serialized; otherwise, false. The default is true. |
SerializeFiltering
Gets or sets a value that indicates whether the filter predicates should be serialized in SfDataGrid.
Declaration
public bool SerializeFiltering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the filter predicates is serialized; otherwise, false. The default is true. |
SerializeGrouping
Gets or sets a value that indicates whether the grouping should be serialized in SfDataGrid.
Declaration
public bool SerializeGrouping { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the grouping is serialized; otherwise, false. The default is true. |
SerializeGroupSummaries
Gets or sets a value that indicates whether the GroupSummaryRows should be serialized in SfDataGrid.
Declaration
public bool SerializeGroupSummaries { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the GroupSummaryRows is serialized; otherwise, false. The default is true. |
SerializeSorting
Gets or sets a value that indicates whether the sorting should be serialized in SfDataGrid.
Declaration
public bool SerializeSorting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the sorting is serialized; otherwise, false. The default is true. |
SerializeStackedHeaders
Gets or sets a value that indicates whether the StackedHeaderRows should be serialized in SfDataGrid.
Declaration
public bool SerializeStackedHeaders { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the StackedHeaderRows is serialized; otherwise, false. The default is true. |
SerializeTableSummaries
Gets or sets a value that indicates whether the TableSummaryRows should be serialized in SfDataGrid.
Declaration
public bool SerializeTableSummaries { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the TableSummaryRows is serialized; otherwise, false. The default is true. |
SerializeUnboundRows
Gets or sets a value that indicates whether the unbound rows should be serialized in SfDataGrid.
Declaration
public bool SerializeUnboundRows { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the unbound rows is serialized; otherwise, false. The default is true. |