Class RowHeaderCellStyleInfo
Represents the functionalities that holds all information stored for a RowHeader.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class RowHeaderCellStyleInfo : CellStyleInfo, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
RowHeaderCellStyleInfo()
Initializes a new instance of the RowHeaderCellStyleInfo class.
Declaration
public RowHeaderCellStyleInfo()
RowHeaderCellStyleInfo(StyleInfoSubObjectIdentity)
Initializes a new instance of the RowHeaderCellStyleInfo class.
Declaration
public RowHeaderCellStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
RowHeaderCellStyleInfo(StyleInfoSubObjectIdentity, CellStyleInfoStore)
Initializes a new instance of the RowHeaderCellStyleInfo class and associates it with an existing CellStyleInfoStore.
Declaration
public RowHeaderCellStyleInfo(StyleInfoSubObjectIdentity identity, CellStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this StyleInfoBase. |
CellStyleInfoStore | store | A CellStyleInfoStore that holds data for this object. All changes in this style object will be saved in the CellStyleInfoStore object. |
Properties
Default
Gets the default RowHeaderStyleInfo value.
Declaration
public static RowHeaderCellStyleInfo Default { get; }
Property Value
Type |
---|
RowHeaderCellStyleInfo |
HasSortIcon
Gets a value indicating whether SortIcon has been initialized for the current object.
Declaration
public bool HasSortIcon { get; }
Property Value
Type |
---|
System.Boolean |
RowHeaderErrorIcon
Gets or sets the row header validation error icon.
Declaration
public Bitmap RowHeaderErrorIcon { get; set; }
Property Value
Type |
---|
System.Drawing.Bitmap |
SelectionBackColor
Gets or sets the selection back color of the rowheader.
Declaration
public Color SelectionBackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelectionMarkerColor
Gets or sets color of the selection marker.
Declaration
public Color SelectionMarkerColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
SelectionMarkerThickness
Gets or sets the thickness of the selection marker.
Declaration
public float SelectionMarkerThickness { get; set; }
Property Value
Type |
---|
System.Single |
Store
Gets the CellStyleInfoStore object that holds all the data for this style object.
Declaration
public CellStyleInfoStore Store { get; }
Property Value
Type |
---|
CellStyleInfoStore |
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()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | A default style object. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |