Class GraphicVolatileCellStyles
Inheritance
System.Object
GraphicVolatileCellStyles
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GraphicVolatileCellStyles : Object, IDisposable
Constructors
GraphicVolatileCellStyles(IGraphicVolatileCellStylesHost)
Declaration
public GraphicVolatileCellStyles(IGraphicVolatileCellStylesHost host)
Parameters
Type | Name | Description |
---|---|---|
IGraphicVolatileCellStylesHost | host |
Properties
Host
Retrieves the host that handles the volatile cell styles.
Declaration
public IGraphicVolatileCellStylesHost Host { get; }
Property Value
Type |
---|
IGraphicVolatileCellStylesHost |
Item[Int32]
Gives access to a GridStyleInfo at a given row and column index.
Declaration
public GraphicStyleInfo this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
GraphicStyleInfo |
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(Int32)
Resets cache for a specific cell.
Declaration
public void Clear(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
CreateStyle(Int32)
Declaration
protected virtual GraphicStyleInfo CreateStyle(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type |
---|
GraphicStyleInfo |
Dispose()
Declaration
public void Dispose()
GetItem(Int32)
Gets the cached style information for a specific cell.
Declaration
public GraphicStyleInfo GetItem(int cell)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cell | The cell coordinate. |
Returns
Type | Description |
---|---|
GraphicStyleInfo | The cached GridStyleInfo; NULL if no cache entry was found. |
OnQueryCellInfo(Int32, GraphicStyleInfo)
Declaration
protected virtual void OnQueryCellInfo(int index, GraphicStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
GraphicStyleInfo | style |
ResetItem(Int32)
Resets cache for a specific cell.
Declaration
public void ResetItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
SetItem(Int32, GraphicStyleInfo)
Saves style information to be cached.
Declaration
public void SetItem(int index, GraphicStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
GraphicStyleInfo | style | The GridStyleInfo to be cached. |
Implements
System.IDisposable