Class SpreadsheetVisualStyle
Represents the class to define the style for Syncfusion.Windows.Forms.Spreadsheet control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class SpreadsheetVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
SpreadsheetVisualStyle()
Initializes a new instance of the SpreadsheetVisualStyle class.
Declaration
public SpreadsheetVisualStyle()
SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity)
Initializes a new instance of the SpreadsheetVisualStyle class.
Declaration
public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetVisualStyleInfoIdentity | identity | A SpreadsheetVisualStyleInfoIdentity that holds the identity for this SpreadsheetVisualStyleInfoStore. |
SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity, SpreadsheetVisualStyleInfoStore)
Initializes a new instance of the SpreadsheetVisualStyle class.
Declaration
public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoIdentity identity, SpreadsheetVisualStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetVisualStyleInfoIdentity | identity | A SpreadsheetVisualStyleInfoIdentity that holds the identity for this SpreadsheetVisualStyleInfoStore. |
SpreadsheetVisualStyleInfoStore | store | Holds instance of a SpreadsheetVisualStyleInfoStore class |
SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoStore)
Initializes a new instance of the SpreadsheetVisualStyle class.
Declaration
public SpreadsheetVisualStyle(SpreadsheetVisualStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetVisualStyleInfoStore | store | Holds instance of a SpreadsheetVisualStyleInfoStore class. |
Properties
DefaultStyle
Gets the default style value for the Spreadsheet control.
Declaration
public static SpreadsheetVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
SpreadsheetVisualStyle |
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 SpreadsheetHeaderStyleInfo styles.
Declaration
[ThemeStudio]
public SpreadsheetHeaderStyleInfo HeaderStyle { get; set; }
Property Value
Type |
---|
SpreadsheetHeaderStyleInfo |
SelectionBackColor
Gets or sets the color of selection color.
Declaration
[ThemeStudio]
public Color SelectionBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelectionBorderColor
Gets or sets the color of selection border.
Declaration
[ThemeStudio]
public Color SelectionBorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip |
Returns
Type |
---|
StyleInfoSubObjectIdentity |
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type |
---|
StyleInfoBase |