Class GridVolatileCellStyles
VolatileData allocates its own style objects and maintains a weak reference to them.
Once the style object is finalized, the weak reference is removed from the hashtable.
Inheritance
System.Object
GridVolatileCellStyles
Implements
System.IDisposable
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public class GridVolatileCellStyles : Object, IDisposable
Constructors
GridVolatileCellStyles(IGridVolatileCellStylesHost)
Declaration
public GridVolatileCellStyles(IGridVolatileCellStylesHost host)
Parameters
Properties
BaseStylesMap
Gets the base styles map.
Declaration
public GridBaseStylesMap BaseStylesMap { get; }
Property Value
Data
Declaration
public GridRowsCache Data { get; }
Property Value
Host
Declaration
public IGridVolatileCellStylesHost Host { get; }
Property Value
Declaration
public GridStyleInfo this[RowColumnIndex cell] { get; }
Parameters
Property Value
Item[Int32, Int32]
Declaration
public GridStyleInfo this[int rowIndex, int columnIndex] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
rowIndex |
|
System.Int32 |
columnIndex |
|
Property Value
Methods
Clear()
Declaration
Clear(GridRangeInfo)
Declaration
public void Clear(GridRangeInfo cellSpan)
Parameters
Resets cache for a specific cell.
Declaration
public void Clear(RowColumnIndex cell)
Parameters
Declaration
protected virtual GridStyleInfo CreateStyle(RowColumnIndex cell)
Parameters
Returns
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
Dispose the instance, if it is True
|
Gets the cached style information for a specific cell.
Declaration
public virtual GridStyleInfo GetItem(RowColumnIndex cell)
Parameters
Returns
Type |
Description |
GridStyleInfo |
The cached GridStyleInfo; NULL if no cache entry was found.
|
InsertColumns(Int32, Int32)
Declaration
public void InsertColumns(int insertAtColumnIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
insertAtColumnIndex |
|
System.Int32 |
count |
|
InsertColumns(Int32, Int32, GridVolatileCellStyles)
Declaration
public void InsertColumns(int insertAtColumnIndex, int count, GridVolatileCellStyles moveCells)
Parameters
InsertRows(Int32, Int32)
Declaration
public void InsertRows(int insertAtRowIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
insertAtRowIndex |
|
System.Int32 |
count |
|
InsertRows(Int32, Int32, GridVolatileCellStyles)
Declaration
public void InsertRows(int insertAtRowIndex, int count, GridVolatileCellStyles moveCells)
Parameters
Declaration
protected virtual void OnQueryCellInfo(RowColumnIndex cell, GridStyleInfo style)
Parameters
RemoveColumns(Int32, Int32)
Declaration
public void RemoveColumns(int removeAtColumnIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
removeAtColumnIndex |
|
System.Int32 |
count |
|
RemoveColumns(Int32, Int32, GridVolatileCellStyles)
Declaration
public void RemoveColumns(int removeAtColumnIndex, int count, GridVolatileCellStyles moveCells)
Parameters
RemoveRows(Int32, Int32)
Declaration
public void RemoveRows(int removeAtRowIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
removeAtRowIndex |
|
System.Int32 |
count |
|
RemoveRows(Int32, Int32, GridVolatileCellStyles)
Declaration
public void RemoveRows(int removeAtRowIndex, int count, GridVolatileCellStyles moveCells)
Parameters
Resets cache for a specific cell.
Declaration
public void ResetItem(RowColumnIndex cell)
Parameters
Saves style information to be cached.
Declaration
public void SetItem(RowColumnIndex cell, GridStyleInfo style)
Parameters
Implements
System.IDisposable
Extension Methods