SpreadsheetHeaderStyleInfo Class
Represents the class to define the style for Spreadsheet control.
Inheritance
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class SpreadsheetHeaderStyleInfo : StyleInfoSubObjectBase
Constructors
SpreadsheetHeaderStyleInfo()
Initializes a new instance of the SpreadsheetHeaderStyleInfo class.
Declaration
public SpreadsheetHeaderStyleInfo()
SpreadsheetHeaderStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the SpreadsheetHeaderStyleInfo class.
Declaration
public SpreadsheetHeaderStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Styles.StyleInfoSubObjectIdentity | identity | A Syncfusion.Styles.StyleInfoSubObjectIdentity that holds the identity for this SpreadsheetHeaderStyleInfoStore. |
SpreadsheetHeaderStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the SpreadsheetHeaderStyleInfo class.
Declaration
public SpreadsheetHeaderStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Styles.StyleInfoSubObjectIdentity | identity | A SpreadsheetHeaderStyleInfoIdentity that holds the identity for this SpreadsheetHeaderStyleInfoStore. |
Syncfusion.Styles.StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the header background color for the Spreadsheet control.
Declaration
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the background of the HeaderCell. |
DefaultStyle
Gets the default style value for the Spreadsheet control.
Declaration
public static SpreadsheetHeaderStyleInfo DefaultStyle { get; }
Property Value
Type |
---|
SpreadsheetHeaderStyleInfo |
ForeColor
Gets or sets the header fore color value for the Spreadsheet control.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the SpreadsheetHeaderStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
Syncfusion.Styles.StyleInfoBase | Returns the default style value. |