Class DataGridStyleInfoIdentity
Implements the class that provide the identity information of CellStyleInfo using StyleInfoIdentityBase.
Inheritance
System.Object
DataGridStyleInfoIdentity
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Styles
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class DataGridStyleInfoIdentity : ScrollBarStyleInfoIdentity, IDisposable
Constructors
DataGridStyleInfoIdentity(SfDataGrid)
Initializes a new instance of the DataGridStyleInfoIdentity class.
Declaration
public DataGridStyleInfoIdentity(SfDataGrid grid)
Parameters
| Type | Name | Description |
|---|---|---|
| SfDataGrid | grid | SfDataGrid to create an identity. |
Methods
GetBaseStyles(IStyleInfo)
Loops through all base styles until it finds a style that has a specific property initialized.
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| IStyleInfo | thisStyleInfo | A instance of |
Returns
| Type | Description |
|---|---|
| IStyleInfo[] | Returns the |
Overrides
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Occurs when a property in the
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoBase | style | The |
| StyleInfoProperty | sip | A |
Overrides
Implements
System.IDisposable