Class GridCellSelectionStyleInfo
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 GridCellSelectionStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
GridCellSelectionStyleInfo()
It contains the value of the GridCellSelectionStyleInfo property.
Declaration
public GridCellSelectionStyleInfo()
GridCellSelectionStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the GridCellSelectionStyleInfo class.
Declaration
public GridCellSelectionStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this GridCellSelectionStyleInfoStore. |
GridCellSelectionStyleInfo(StyleInfoSubObjectIdentity, StyleInfoStore)
Initializes a new instance of the GridCellSelectionStyleInfo class.
Declaration
public GridCellSelectionStyleInfo(StyleInfoSubObjectIdentity identity, StyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this GridCellSelectionStyleInfoStore. |
| StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the back color for selected cells.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
DefaultStyle
Gets the default values of GridCellSelectionStyleInfo instance.
Declaration
public static GridCellSelectionStyleInfo DefaultStyle { get; }
Property Value
| Type |
|---|
| GridCellSelectionStyleInfo |
ExcelLikeSelectionBorderColor
Gets or sets the border color of selected range when ExcelLikeSelectionFrame is enabled.
Declaration
[ThemeStudio]
public Color ExcelLikeSelectionBorderColor { 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 GridCellSelectionStyleInfo class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | Returns the default style value. |