Class GridHeaderStyleInfo
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 GridHeaderStyleInfo : GridCellStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GridHeaderStyleInfo()
Initializes a new instance of the GridHeaderStyleInfo class.
Declaration
public GridHeaderStyleInfo()
GridHeaderStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the GridHeaderStyleInfo class.
Declaration
public GridHeaderStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this GridCellStyleInfoStore. |
GridHeaderStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the GridHeaderStyleInfo class.
Declaration
public GridHeaderStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this |
StyleInfoStore | store | The store. |
Properties
DefaultStyle
Gets the default style value for the GridHeaderStyleInfo control.
Declaration
public static GridHeaderStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
GridHeaderStyleInfo |
HoverBackColor
Gets or sets the back color for header in mouse hover state.
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
HoverTextColor
Gets or sets the text color in hover state.
Declaration
[ThemeStudio]
public Color HoverTextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedBackColor
Gets or sets the back color in pressed state.
Declaration
[ThemeStudio]
public Color PressedBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
PressedTextColor
Gets or sets the text color in pressed state.
Declaration
[ThemeStudio]
public Color PressedTextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the GridHeaderStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |