menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridVolatileCellStyles - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.CellGrid.Styles
    Assembly: Syncfusion.SfCellGrid.WPF.dll
    Syntax
    public class GridVolatileCellStyles : IDisposable

    Constructors

    GridVolatileCellStyles(IGridVolatileCellStylesHost)

    Declaration
    public GridVolatileCellStyles(IGridVolatileCellStylesHost host)
    Parameters
    Type Name Description
    IGridVolatileCellStylesHost host

    Properties

    BaseStylesMap

    Gets the base styles map.

    Declaration
    public GridBaseStylesMap BaseStylesMap { get; }
    Property Value
    Type
    GridBaseStylesMap

    Data

    Declaration
    public GridRowsCache Data { get; }
    Property Value
    Type
    GridRowsCache

    Host

    Declaration
    public IGridVolatileCellStylesHost Host { get; }
    Property Value
    Type
    IGridVolatileCellStylesHost

    Item[RowColumnIndex]

    Declaration
    public GridStyleInfo this[RowColumnIndex cell] { get; }
    Parameters
    Type Name Description
    RowColumnIndex cell
    Property Value
    Type
    GridStyleInfo

    Item[Int32, Int32]

    Gives access to a GridStyleInfo at a given row and column index.

    Declaration
    public GridStyleInfo this[int rowIndex, int columnIndex] { get; }
    Parameters
    Type Name Description
    System.Int32 rowIndex
    System.Int32 columnIndex
    Property Value
    Type
    GridStyleInfo

    Methods

    Clear()

    Empty the cache.

    Declaration
    public void Clear()

    Clear(GridRangeInfo)

    Declaration
    public void Clear(GridRangeInfo cellSpan)
    Parameters
    Type Name Description
    GridRangeInfo cellSpan

    Clear(RowColumnIndex)

    Resets cache for a specific cell.

    Declaration
    public void Clear(RowColumnIndex cell)
    Parameters
    Type Name Description
    RowColumnIndex cell

    The cell coordinates.

    CreateStyle(RowColumnIndex)

    Declaration
    protected virtual GridStyleInfo CreateStyle(RowColumnIndex cell)
    Parameters
    Type Name Description
    RowColumnIndex cell
    Returns
    Type
    GridStyleInfo

    Dispose()

    Call the Dispose and SuppressFinalize method for dipose the instance of GridVolatileCellStyles class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose the live resources used by the GridVolatileCellStyles class.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Dispose the instance, if it is True

    GetItem(RowColumnIndex)

    Gets the cached style information for a specific cell.

    Declaration
    public virtual 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)

    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
    Type Name Description
    System.Int32 insertAtColumnIndex
    System.Int32 count
    GridVolatileCellStyles moveCells

    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
    Type Name Description
    System.Int32 insertAtRowIndex
    System.Int32 count
    GridVolatileCellStyles moveCells

    OnQueryCellInfo(RowColumnIndex, GridStyleInfo)

    Declaration
    protected virtual void OnQueryCellInfo(RowColumnIndex cell, GridStyleInfo style)
    Parameters
    Type Name Description
    RowColumnIndex cell
    GridStyleInfo style

    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
    Type Name Description
    System.Int32 removeAtColumnIndex
    System.Int32 count
    GridVolatileCellStyles moveCells

    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
    Type Name Description
    System.Int32 removeAtRowIndex
    System.Int32 count
    GridVolatileCellStyles moveCells

    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.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved