Class GridControlVisualStyle
Represents the class to define the style for GridControl control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridControlVisualStyle : ScrollerVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GridControlVisualStyle()
Initializes a new instance of the GridControlVisualStyle class.
Declaration
public GridControlVisualStyle()
GridControlVisualStyle(GridControlStyleInfoIdentity)
Initializes a new instance of the GridControlVisualStyle class.
Declaration
public GridControlVisualStyle(GridControlStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
GridControlStyleInfoIdentity | identity | A GridControlStyleInfoIdentity that holds the identity for this GridControlStyleInfoStore. |
GridControlVisualStyle(GridControlStyleInfoIdentity, GridControlStyleInfoStore)
Initializes a new instance of the GridControlVisualStyle class.
Declaration
public GridControlVisualStyle(GridControlStyleInfoIdentity identity, GridControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridControlStyleInfoIdentity | identity | A GridControlStyleInfoIdentity that holds the identity for this GridControlStyleInfoStore. |
GridControlStyleInfoStore | store | Holds instance of a GridControlStyleInfoStore class |
GridControlVisualStyle(GridControlStyleInfoStore)
Initializes a new instance of the GridControlVisualStyle class.
Declaration
public GridControlVisualStyle(GridControlStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
GridControlStyleInfoStore | store | Holds instance of a GridControlStyleInfoStore class. |
Properties
CellStyle
Gets or sets the value for GridCellStyleInfo styles.
Declaration
[ThemeStudio]
public GridCellStyleInfo CellStyle { get; set; }
Property Value
Type |
---|
GridCellStyleInfo |
CheckBoxStyle
Gets or sets the value for GridCheckBoxCellStyleInfo styles.
Declaration
[ThemeStudio]
public GridCheckBoxCellStyleInfo CheckBoxStyle { get; set; }
Property Value
Type |
---|
GridCheckBoxCellStyleInfo |
ComboBoxStyle
Gets or sets the value for GridComboBoxCellStyleInfo styles.
Declaration
[ThemeStudio]
public GridComboBoxCellStyleInfo ComboBoxStyle { get; set; }
Property Value
Type |
---|
GridComboBoxCellStyleInfo |
DefaultStyle
Gets the default style value for the GridControl control.
Declaration
public static GridControlVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
GridControlVisualStyle |
GridLineColor
Gets or sets the color of grid lines.
Declaration
[ThemeStudio]
public Color GridLineColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HeaderStyle
Gets or sets the value for GridHeaderStyleInfo styles.
Declaration
[ThemeStudio]
public GridHeaderStyleInfo HeaderStyle { get; set; }
Property Value
Type |
---|
GridHeaderStyleInfo |
NumericUpDownStyle
Gets or sets the value for GridNumericUpDownCellInfo styles.
Declaration
[ThemeStudio]
public GridNumericUpDownCellInfo NumericUpDownStyle { get; set; }
Property Value
Type |
---|
GridNumericUpDownCellInfo |
PushButtonStyle
Gets or sets the value for GridCellButtonStyleInfo styles.
Declaration
[ThemeStudio]
public GridCellButtonStyleInfo PushButtonStyle { get; set; }
Property Value
Type |
---|
GridCellButtonStyleInfo |
RadioButtonStyle
Gets or sets the value for GridRadioButtonCellStyleInfo styles.
Declaration
[ThemeStudio]
public GridRadioButtonCellStyleInfo RadioButtonStyle { get; set; }
Property Value
Type |
---|
GridRadioButtonCellStyleInfo |
SelectionStyle
Gets or sets the value for GridCellSelectionStyleInfo styles.
Declaration
[ThemeStudio]
public GridCellSelectionStyleInfo SelectionStyle { get; set; }
Property Value
Type |
---|
GridCellSelectionStyleInfo |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type |
---|
StyleInfoBase |