Class SerializableGridStyle
Represents a class that is used to serialize and deserialize DataGridStyle property settings.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Serialization
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class SerializableGridStyle
  Constructors
SerializableGridStyle()
Initializes a new instance of the SerializableGridStyle class.
Declaration
public SerializableGridStyle()
  Properties
AddNewRowStyle
Gets or sets the style applied to all the AddNew row cells in SFDataGrid.
Declaration
public AddNewRowStyleInfo AddNewRowStyle { get; set; }
  Property Value
| Type | 
|---|
| AddNewRowStyleInfo | 
Border3DStyle
Gets or sets the 3D border style applied to the SfDataGrid.
Declaration
public Border3DStyle Border3DStyle { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.Border3DStyle | 
BorderColor
Gets or sets the border color applied to the SfDataGrid.
Declaration
public Color BorderColor { get; set; }
  Property Value
| Type | 
|---|
| System.Drawing.Color | 
BorderSides
Gets or sets the border sides applied to the SfDataGrid.
Declaration
public Border3DSide BorderSides { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.Border3DSide | 
BorderStyle
Gets or sets the border style applied to all the record cells in SFDataGrid.
Declaration
public BorderStyle BorderStyle { get; set; }
  Property Value
| Type | 
|---|
| System.Windows.Forms.BorderStyle | 
ButtonStyle
Gets or sets the style applied to button column in SFDataGrid.
Declaration
public ButtonCellStyleInfo ButtonStyle { get; set; }
  Property Value
| Type | 
|---|
| ButtonCellStyleInfo | 
CaptionSummaryRowStyle
Gets or sets the style applied to CaptionSummaryRowStyle in SFDataGrid.
Declaration
public CellStyleInfo CaptionSummaryRowStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
CellStyle
Gets or sets the style applied to all the record cells in SFDataGrid.
Declaration
public CellStyleInfo CellStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
CheckBoxStyle
Gets or sets the style of the check box.
Declaration
public CheckBoxCellStyleInfo CheckBoxStyle { get; set; }
  Property Value
| Type | 
|---|
| CheckBoxCellStyleInfo | 
CurrentCellStyle
Gets or sets the style applied to CurrentCellStyle in SFDataGrid.
Declaration
public CurrentCellStyleInfo CurrentCellStyle { get; set; }
  Property Value
| Type | 
|---|
| CurrentCellStyleInfo | 
DataGrid
Gets or sets the reference of the SfDataGrid control.
Declaration
public static SfDataGrid DataGrid { get; set; }
  Property Value
| Type | 
|---|
| SfDataGrid | 
FilterRowStyle
Gets or sets the style applied to all the filter row cells in SFDataGrid.
Declaration
public FilterRowStyleInfo FilterRowStyle { get; set; }
  Property Value
| Type | 
|---|
| FilterRowStyleInfo | 
FreezePaneLineStyle
Gets or sets the appearance for freeze pane line which being drawing when freezing rows and columns.
Declaration
public FreezePaneLineStyleInfo FreezePaneLineStyle { get; set; }
  Property Value
| Type | 
|---|
| FreezePaneLineStyleInfo | 
GroupDropAreaItemStyle
Gets or sets the style applied to GroupDropAreaItem in SFDataGrid.
Declaration
public GroupDropAreaItemStyleInfo GroupDropAreaItemStyle { get; set; }
  Property Value
| Type | 
|---|
| GroupDropAreaItemStyleInfo | 
GroupDropAreaStyle
Gets or sets the style applied to GroupDropArea in SFDataGrid.
Declaration
public GroupDropAreaStyleInfo GroupDropAreaStyle { get; set; }
  Property Value
| Type | 
|---|
| GroupDropAreaStyleInfo | 
GroupSummaryRowStyle
Gets or sets the style applied to GroupSummaryRowStyle in SFDataGrid.
Declaration
public CellStyleInfo GroupSummaryRowStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
HeaderStyle
Gets or sets the style applied to all the header cells in SFDataGrid.
Declaration
public HeaderStyleInfo HeaderStyle { get; set; }
  Property Value
| Type | 
|---|
| HeaderStyleInfo | 
HyperlinkStyle
Gets or sets the style of the hyperlink column.
Declaration
public HyperlinkCellStyleInfo HyperlinkStyle { get; set; }
  Property Value
| Type | 
|---|
| HyperlinkCellStyleInfo | 
IndentCellStyle
Gets or sets the style applied to indent cell in SFDataGrid.
Declaration
public CellStyleInfo IndentCellStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
ProgressBarStyle
Gets or sets the style of the ProgressBar.
Declaration
public ProgressBarCellStyleInfo ProgressBarStyle { get; set; }
  Property Value
| Type | 
|---|
| ProgressBarCellStyleInfo | 
RowHeaderStyle
Gets or sets the style applied to RowHeader in SfDataGrid.
Declaration
public RowHeaderCellStyleInfo RowHeaderStyle { get; set; }
  Property Value
| Type | 
|---|
| RowHeaderCellStyleInfo | 
SelectionStyle
Gets or sets the style applied to SelectionStyle in SFDataGrid.
Declaration
public SelectionStyleInfo SelectionStyle { get; set; }
  Property Value
| Type | 
|---|
| SelectionStyleInfo | 
StackedHeaderStyle
Gets or sets the style applied to all the stacked header cells in SFDataGrid.
Declaration
public StackedHeaderStyleInfo StackedHeaderStyle { get; set; }
  Property Value
| Type | 
|---|
| StackedHeaderStyleInfo | 
TableSummaryRowStyle
Gets or sets the style applied to TableSummaryRow in SFDataGrid.
Declaration
public CellStyleInfo TableSummaryRowStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
ToolTipStyle
Gets or sets the style applied to the tooltip.
Declaration
public ToolTipStyleInfo ToolTipStyle { get; set; }
  Property Value
| Type | 
|---|
| ToolTipStyleInfo | 
UnboundRowStyle
Gets or sets the style applied to all the unbound row cells in SFDataGrid.
Declaration
public CellStyleInfo UnboundRowStyle { get; set; }
  Property Value
| Type | 
|---|
| CellStyleInfo | 
ValidationErrorToolTipStyle
Gets or sets the style of the validation error tooltip.
Declaration
public ToolTipStyleInfo ValidationErrorToolTipStyle { get; set; }
  Property Value
| Type | 
|---|
| ToolTipStyleInfo | 
Methods
KnownTypes()
Gets the known column types during serialization and deserialization operation.
Declaration
public static Type[] KnownTypes()
  Returns
| Type | Description | 
|---|---|
| System.Type[] | Returns the corresponding column type.  |