Class GridCellButtonStyleInfo
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 GridCellButtonStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GridCellButtonStyleInfo()
It contains the value of the GridCellButtonStyleInfo property.
Declaration
public GridCellButtonStyleInfo()
GridCellButtonStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the GridCellButtonStyleInfo class.
Declaration
public GridCellButtonStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this GridCellButtonStyleInfoStore. |
GridCellButtonStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the GridCellButtonStyleInfo class.
Declaration
public GridCellButtonStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this GridCellButtonStyleInfoStore. |
StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the background color for GridCellButton.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderColor
Gets or sets the border color for GridCellButton.
Declaration
[ThemeStudio]
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
DefaultStyle
Gets the default values of GridCellButtonStyleInfo instance.
Declaration
public static GridCellButtonStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
GridCellButtonStyleInfo |
HoverBackColor
Gets or sets the background color for GridCellButton in hover state.
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverBorderColor
Gets or sets the border color for GridCellButton in hover state.
Declaration
[ThemeStudio]
public Color HoverBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the background color for GridCellButton in pressed state.
Declaration
[ThemeStudio]
public Color PressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBorderColor
Gets or sets the border color for GridCellButton in pressed state.
Declaration
[ThemeStudio]
public Color PressedBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
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()
Gets the default style value of the GridCellButtonStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |