WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicVolatileCellStyles

    Show / Hide Table of Contents

    Class GraphicVolatileCellStyles

    Inheritance
    System.Object
    GraphicVolatileCellStyles
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GraphicVolatileCellStyles : 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 Description
    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 Description
    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 Description
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved