Class GridVolatileData
For internal use.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridVolatileData : Object, IGridVolatileData
Constructors
GridVolatileData(GridVolatileCellStyles)
Declaration
public GridVolatileData(GridVolatileCellStyles volatileCellStyles)
Parameters
Type | Name | Description |
---|---|---|
GridVolatileCellStyles | volatileCellStyles |
Methods
Clear()
Empty the cache.
Declaration
public void Clear()
Clear(CellSpanInfoBase)
Removes the given cell span from the cache.
Declaration
public void Clear(CellSpanInfoBase cellSpan)
Parameters
Type | Name | Description |
---|---|---|
CellSpanInfoBase | cellSpan | Cell spanned range. |
Clear(RowColumnIndex)
Resets cache for a specific cell.
Declaration
public void Clear(RowColumnIndex cell)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell | The cell coordinates. |
GetItem(RowColumnIndex)
Gets the cached style information for a specific cell.
Declaration
public GridStyleInfo GetItem(RowColumnIndex cell)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell | The cell coordinate. |
Returns
Type | Description |
---|---|
GridStyleInfo | The cached GridStyleInfo; NULL if no cache entry was found. |
InsertColumns(Int32, Int32, IGridVolatileData)
Inserts the given no. of columns into the cell styles dictionary.
Declaration
public void InsertColumns(int insertAtColumnIndex, int count, IGridVolatileData imoveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | insertAtColumnIndex | The column index to insert. |
System.Int32 | count | No. of columns to be inserted. |
IGridVolatileData | imoveCells |
InsertRows(Int32, Int32, IGridVolatileData)
Inserts the given number of rows.
Declaration
public void InsertRows(int insertAtRowIndex, int count, IGridVolatileData imoveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | insertAtRowIndex | The insert row index. |
System.Int32 | count | Number of rows to insert. |
IGridVolatileData | imoveCells |
IsVisibleCell(RowColumnIndex)
Declaration
public bool IsVisibleCell(RowColumnIndex cell)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell |
Returns
Type |
---|
System.Boolean |
RemoveColumns(Int32, Int32, IGridVolatileData)
Removes the specified columns from the cell styles dictionary.
Declaration
public void RemoveColumns(int removeAtColumnIndex, int count, IGridVolatileData imoveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAtColumnIndex | Remove column index. |
System.Int32 | count | No. of columns to be removed. |
IGridVolatileData | imoveCells |
RemoveRows(Int32, Int32, IGridVolatileData)
Removes the specified rows.
Declaration
public void RemoveRows(int removeAtRowIndex, int count, IGridVolatileData imoveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAtRowIndex | The remove row index. |
System.Int32 | count | Number of rows to remove. |
IGridVolatileData | imoveCells |
ResetItem(RowColumnIndex)
Resets cache for a specific cell.
Declaration
public void ResetItem(RowColumnIndex cell)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell | The cell coordinates. |
SetItem(RowColumnIndex, GridStyleInfo)
Saves style information to be cached.
Declaration
public void SetItem(RowColumnIndex cell, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell | The cell coordinate. |
GridStyleInfo | style | The GridStyleInfo to be cached. |