Class GraphicStyleInfoIdentity
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GraphicStyleInfoIdentity : StyleInfoIdentityBase, IDisposable
Constructors
GraphicStyleInfoIdentity(GraphicStyleInfoIdentity)
Initializes a new GridStyleInfoIdentity and copies its data from an existing object.
Declaration
protected GraphicStyleInfoIdentity(GraphicStyleInfoIdentity other)
Parameters
Type | Name | Description |
---|---|---|
GraphicStyleInfoIdentity | other | The existing object to copy data from. |
GraphicStyleInfoIdentity(GraphicVolatileCellStyles, Int32)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GraphicStyleInfoIdentity(GraphicVolatileCellStyles data, int index)
Parameters
Type | Name | Description |
---|---|---|
GraphicVolatileCellStyles | data | A reference to |
System.Int32 | index |
GraphicStyleInfoIdentity(GraphicVolatileCellStyles, Int32, Boolean)
Initializes a new GridStyleInfoIdentity with a reference to
Declaration
public GraphicStyleInfoIdentity(GraphicVolatileCellStyles data, int index, bool offLine)
Parameters
Type | Name | Description |
---|---|---|
GraphicVolatileCellStyles | data | A reference to |
System.Int32 | index | |
System.Boolean | offLine | True if changes in this style object should not be stored in the associated |
Properties
CellIndex
The cell coordinates.
Declaration
public int CellIndex { get; }
Property Value
Type |
---|
System.Int32 |
Data
Reference to
Declaration
public GraphicVolatileCellStyles Data { get; }
Property Value
Type |
---|
GraphicVolatileCellStyles |
GridModel
Returns the grid model.
Declaration
public GraphicModel GridModel { get; }
Property Value
Type |
---|
GraphicModel |
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 |
Methods
Dispose()
Releases all the resource used by this component.
Declaration
public override void Dispose()
Overrides
Finalize()
Removes the associated cell cache object from the volatile data store.
Declaration
protected override void Finalize()
GetBaseStyles(IStyleInfo)
Overridden. 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
LookupCellModel(String)
Returns a GridCellModelBase for the specified id / cell type name.
Declaration
public virtual GraphicCellModelBase LookupCellModel(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Cell type name. |
Returns
Type | Description |
---|---|
GraphicCellModelBase | The GridCellModelBase for the given id. |
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 GraphicStyleInfoIdentity MakeOfflineIdentity()
Returns
Type | Description |
---|---|
GraphicStyleInfoIdentity | 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 off line, 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()
Returns a string representation of the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String equivalent of the current object. |
UpdateCellRowColumnIndex(Int32)
Updates the cell row column index.
Declaration
public void UpdateCellRowColumnIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |