Class GridStyleInfoIdentity
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public class GridStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
Constructors
GridStyleInfoIdentity(GridStyleInfoIdentity)
Initializes a new GridStyleInfoIdentity and copies its data from an existing object.
Declaration
protected GridStyleInfoIdentity(GridStyleInfoIdentity other)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfoIdentity | other | The existing object to copy data from. |
GridStyleInfoIdentity(GridVolatileCellStyles, RowColumnIndex)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GridStyleInfoIdentity(GridVolatileCellStyles data, RowColumnIndex pos)
Parameters
Type | Name | Description |
---|---|---|
GridVolatileCellStyles | data | A reference to |
RowColumnIndex | pos | Cell coordinates. |
GridStyleInfoIdentity(GridVolatileCellStyles, RowColumnIndex, Boolean)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GridStyleInfoIdentity(GridVolatileCellStyles data, RowColumnIndex pos, bool offLine)
Parameters
Type | Name | Description |
---|---|---|
GridVolatileCellStyles | data | A reference to |
RowColumnIndex | pos | Cell coordinates. |
System.Boolean | offLine | True if changes in this style object should not be stored in the associated |
GridStyleInfoIdentity(GridVolatileCellStyles, Int32, Int32)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GridStyleInfoIdentity(GridVolatileCellStyles data, int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
GridVolatileCellStyles | data | A reference to |
System.Int32 | rowIndex | Row index. |
System.Int32 | colIndex | Column index. |
GridStyleInfoIdentity(GridVolatileCellStyles, Int32, Int32, Boolean)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GridStyleInfoIdentity(GridVolatileCellStyles data, int rowIndex, int colIndex, bool offLine)
Parameters
Type | Name | Description |
---|---|---|
GridVolatileCellStyles | data | A reference to |
System.Int32 | rowIndex | Row index. |
System.Int32 | colIndex | Column index. |
System.Boolean | offLine | True if changes in this style object should not be stored in the associated |
Properties
CellRowColumnIndex
The cell coordinates.
Declaration
public RowColumnIndex CellRowColumnIndex { get; }
Property Value
Type |
---|
RowColumnIndex |
ColumnIndex
The column index.
Declaration
public int ColumnIndex { get; }
Property Value
Type |
---|
System.Int32 |
Data
Reference to
Declaration
public GridVolatileCellStyles Data { get; }
Property Value
Type |
---|
GridVolatileCellStyles |
GridModel
Declaration
public GridModel GridModel { get; }
Property Value
Type |
---|
GridModel |
OffLine
True if changes in this style object should not be stored in the associated
Declaration
public virtual bool OffLine { get; }
Property Value
Type |
---|
System.Boolean |
RowIndex
The row index.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose(Boolean)
Dispose the live resources used by the GridStyleInfoIdentity class.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
Overrides
Finalize()
Removes the associated cell cache object from the volatile data store.
Declaration
protected override void Finalize()
GetBaseStyles(IStyleInfo)
Overriden. Returns base styles from
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 base styles. |
Overrides
LookupCellRenderer(String)
Returns a
Declaration
public virtual IGridCellRenderer LookupCellRenderer(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Cell type name. |
Returns
Type | Description |
---|---|
IGridCellRenderer | The |
Remarks
Calls
MakeOfflineIdentity()
Creates a new GridStyleInfoIdentity and copies its identity information from the current object. The new
instance will be detached from
Declaration
public GridStyleInfoIdentity MakeOfflineIdentity()
Returns
Type | Description |
---|---|
GridStyleInfoIdentity | A new GridStyleInfoIdentity instance. |
Remarks
Lets a style object load base styles and default values but disables saving changes back to the grid. (see OnStyleChanged below)
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Overridden. If the style is not offline, saves its changes in the
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | style | A reference to the GridStyleInfo object. |
StyleInfoProperty | sip | The StyleInfoProperty that identifies the changed style property. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
---|
System.String |
UpdateCellRowColumnIndex(RowColumnIndex)
Declaration
public void UpdateCellRowColumnIndex(RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex |