Class SerializationOptions
Represents a class that provides options to serialize SfDataGrid settings.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Serialization
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class SerializationOptions
Constructors
SerializationOptions()
Initializes a new instance of the SerializationOptions class.
Declaration
public SerializationOptions()
Properties
SerializeCaptionSummaries
Gets or sets a value indicating whether the CaptionSummaryRow should be serialized in SfDataGrid.
Declaration
public bool SerializeCaptionSummaries { 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 indicating 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. |
SerializeDetailsViewDefinitions
Gets or sets a value indicating whether the DetailsViewDefinitions should be serialized in SfDataGrid.
Declaration
public bool SerializeDetailsViewDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the DetailsViewDefinitions should be serialized; otherwise, false. The default is true. |
SerializeFiltering
Gets or sets a value indicating 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 indicating 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 indicating 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 indicating 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 indicating 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. |
SerializeStyle
Gets or sets a value indicating whether the Style should be serialized in SfDataGrid.
Declaration
public bool SerializeStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the Style is serialized; otherwise, false. The default is true. |
SerializeTableSummaries
Gets or sets a value indicating 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 indicating 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. |