Class GridTableCellAppearanceStyleInfoIdentity
Represents a class that provides identity information for a GridTableCellStyleInfo object of a GridTableCellAppearance and defines the inheritance of style properties.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridTableCellAppearanceStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
Remarks
Inheritance of style properties is defined by the GridTableCellStyleInfoIdentity object. It has a GetBaseStyles(IStyleInfo) method that returns the GridStyleInfo objects that form an inheritance chain. Check the GetBaseStyleNames() method to get string / debug information about the inheritance chain for a specific element. Also, the designer will show this debug information about the inheritance chain in a ToolTip when you hover the mouse over a cell within the "Preview and Edit" window.
Constructors
GridTableCellAppearanceStyleInfoIdentity(GridEngine, GridTableCellAppearance, GridTableCellType)
Initializes a new instance of the GridTableCellAppearanceStyleInfoIdentity class.
Declaration
public GridTableCellAppearanceStyleInfoIdentity(GridEngine engine, GridTableCellAppearance appearance, GridTableCellType tableCellType)
Parameters
Type | Name | Description |
---|---|---|
GridEngine | engine | The GridEngineAn instance of the GridEngine class. |
GridTableCellAppearance | appearance | The parent GridTableCellAppearance that owns the GridTableCellStyleInfo object. |
GridTableCellType | tableCellType | The GridTableCellType that uniquely identifies the GridTableCellStyleInfo with the GridTableCellAppearance that owns it. |
GridTableCellAppearanceStyleInfoIdentity(GridTableCellAppearanceStyleInfoIdentity)
Initializes a new instance of the GridTableCellAppearanceStyleInfoIdentity class and copies its data from an existing object.
Declaration
protected GridTableCellAppearanceStyleInfoIdentity(GridTableCellAppearanceStyleInfoIdentity other)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellAppearanceStyleInfoIdentity | other | The existing object to copy data from. |
Properties
Appearance
Gets or sets the GridTableCellAppearance that owns the GridTableCellStyleInfo object.
Declaration
public GridTableCellAppearance Appearance { get; set; }
Property Value
Type |
---|
GridTableCellAppearance |
Engine
Gets the GridEngine this object belongs to.
Declaration
public GridEngine Engine { get; set; }
Property Value
Type |
---|
GridEngine |
Info
Gets the string format of the current object.
Declaration
public string Info { get; }
Property Value
Type |
---|
System.String |
TableCellType
Gets or sets the GridTableCellType that uniquely identifies the GridTableCellStyleInfo with the GridTableCellAppearance that owns it.
Declaration
public GridTableCellType TableCellType { get; set; }
Property Value
Type |
---|
GridTableCellType |
Methods
Dispose()
Overrides and manages the unwanted resources.
Declaration
public override void Dispose()
Overrides
GetBaseStyles(IStyleInfo)
Overrides and gets the base styles for the current object.
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
Type | Name | Description |
---|---|---|
IStyleInfo | thisStyleInfo | A reference to a IStyleInfo interface. |
Returns
Type | Description |
---|---|
IStyleInfo[] | An array of base styles. |
Overrides
Remarks
Inheritance of style properties is defined by the GridTableCellStyleInfoIdentity object. It has a GetBaseStyles(IStyleInfo) method that returns the GridStyleInfo objects that form an inheritance chain. Check the GetBaseStyleNames() method to get string / debug information about the inheritance chain for a specific element. Also, the designer will show this debug information about the inheritance chain in a ToolTip when you hover the mouse over a cell within the "Preview and Edit" window.
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Overrides and raises the Changed event.
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | The StyleInfoBase instance that has changed. |
StyleInfoProperty | sip | An identity for the property to operate on. |
Overrides
OnStyleChanging(StyleInfoBase, StyleInfoProperty)
Overrides and raises the Changing event.
Declaration
public override void OnStyleChanging(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | The StyleInfoBase instance that has changed. |
StyleInfoProperty | sip | An identity for the property to operate on. |
Overrides
ToString()
Overrides and gets the string format of the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |