Class GridTableOptionsStyleInfoIdentity
Provides identity information for GridTableOptionsStyleInfo objects and methods for inheriting default setting from parent elements.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridTableOptionsStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
Constructors
GridTableOptionsStyleInfoIdentity(GridTableOptionsStyleInfoIdentity)
Initializes a new GridTableOptionsStyleInfoIdentity and copies its data from an existing object.
Declaration
protected GridTableOptionsStyleInfoIdentity(GridTableOptionsStyleInfoIdentity other)
Parameters
Type | Name | Description |
---|---|---|
GridTableOptionsStyleInfoIdentity | other | The existing object to copy data from. |
GridTableOptionsStyleInfoIdentity(IGridTableOptionsSource)
Initializes the identity object with the host.
Declaration
public GridTableOptionsStyleInfoIdentity(IGridTableOptionsSource tableOptionsSource)
Parameters
Type | Name | Description |
---|---|---|
IGridTableOptionsSource | tableOptionsSource | The host for the GridTableOptionsStyleInfo object. |
GridTableOptionsStyleInfoIdentity(IGridTableOptionsSource, GridTableOptionsType)
Initializes the identity object with the host.
Declaration
public GridTableOptionsStyleInfoIdentity(IGridTableOptionsSource tableOptionsSource, GridTableOptionsType tableOptionsType)
Parameters
Type | Name | Description |
---|---|---|
IGridTableOptionsSource | tableOptionsSource | The host for the GridTableOptionsStyleInfo object. |
GridTableOptionsType | tableOptionsType | The kind of group options. |
Properties
Info
Results of ToString method.
Declaration
public string Info { get; }
Property Value
Type |
---|
System.String |
TableOptionsSource
Gets or sets the host element.
Declaration
public IGridTableOptionsSource TableOptionsSource { get; set; }
Property Value
Type |
---|
IGridTableOptionsSource |
Methods
Dispose()
Disposes the current object.
Declaration
public override void Dispose()
Overrides
GetBaseStyle(IStyleInfo, StyleInfoProperty)
Loops through all the base style until it finds a style that has specific property initialized.
Declaration
public override StyleInfoBase GetBaseStyle(IStyleInfo thisStyleInfo, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
IStyleInfo | thisStyleInfo | The style info object that holds the property details. |
StyleInfoProperty | sip | Identity for the property to operate on. |
Returns
Type | Description |
---|---|
StyleInfoBase | returns the StyleInfoBase |
Overrides
GetBaseStyles(IStyleInfo)
Overridden. Returns BaseStyles from IGridData by calling GetBaseStyles(GridStyleInfo, Int32, Int32).
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
Type | Name | Description |
---|---|---|
IStyleInfo | thisStyleInfo | A reference to a IStyleInfo. |
Returns
Type | Description |
---|---|
IStyleInfo[] | An array of BaseStyles. |
Overrides
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Occurs when a property in the StyleInfoBase has changed.
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | A StyleInfoBase object that has changed. |
StyleInfoProperty | sip | Identity for the property to operate on. |
Overrides
OnStyleChanging(StyleInfoBase, StyleInfoProperty)
Occurs before a proeprty in the StyleInfoBase is changing.
Declaration
public override void OnStyleChanging(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | A StyleInfoBase object that has changed. |
StyleInfoProperty | sip | Identity for the property to operate on. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |