menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RenderedCellsManager - API Reference

    Show / Hide Table of Contents

    Class RenderedCellsManager

    Manages the DrawingVisuals for visible cells rendered to the grid canvas and provides routines for invalidating individual cells and move rendered cells after insert or remove rows or columns operations.

    Inheritance
    System.Object
    RenderedCellsManager
    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.Cells
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public class RenderedCellsManager

    Methods

    InsertColumns(Int32, Int32, RenderedCellsMoveState)

    Updates the cache when columns were inserted. Only for cells that belong to columns that were inserted the cell renderer's Render method will be called next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void InsertColumns(int insertAtColumnIndex, int count, RenderedCellsMoveState moveCellsState)
    Parameters
    Type Name Description
    System.Int32 insertAtColumnIndex

    Index of the first column to insert.

    System.Int32 count

    The count.

    RenderedCellsMoveState moveCellsState

    State for moving cells. Use this when moving columns; otherwise specify null.

    InsertRows(Int32, Int32, RenderedCellsMoveState)

    Updates the cache when rows were inserted. Only for cells that belong to rows that were inserted the cell renderer's Render method will be called next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void InsertRows(int insertAtRowIndex, int count, RenderedCellsMoveState moveCellsState)
    Parameters
    Type Name Description
    System.Int32 insertAtRowIndex

    Index of the first row to insert.

    System.Int32 count

    The count.

    RenderedCellsMoveState moveCellsState

    State for moving cells. Use this when moving rows; otherwise specify null.

    Invalidate()

    Invalidates all cells. This will force the cells Render method to be called again the next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void Invalidate()

    Invalidate(CellSpanInfoBase)

    Invalidates the specified cell span. This will force the cells Render method to be called again the next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void Invalidate(CellSpanInfoBase cellSpan)
    Parameters
    Type Name Description
    CellSpanInfoBase cellSpan

    The cell span.

    Invalidate(RowColumnIndex)

    Invalidates the specified cell row column index. This will force the cells Render method to be called again the next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void Invalidate(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Index of the cell row column.

    RemoveColumns(Int32, Int32, RenderedCellsMoveState)

    Updates the cache when columns were removed. Only for cells that belong to columns that become scrolled into view the cell renderer's Render method will be called next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void RemoveColumns(int removeAtColumnIndex, int count, RenderedCellsMoveState moveCellsState)
    Parameters
    Type Name Description
    System.Int32 removeAtColumnIndex

    Index of the first column to remove.

    System.Int32 count

    The count.

    RenderedCellsMoveState moveCellsState

    State for moving cells. Use this when moving columns; otherwise specify null.

    RemoveRows(Int32, Int32, RenderedCellsMoveState)

    Updates the cache when rows were removed. Only for cells that belong to rows that become scrolled into view the cell renderer's Render method will be called next time you call InvalidateVisual on the VirtualizingCellsControl or if the control is forced to render for other reasons.

    Declaration
    public void RemoveRows(int removeAtRowIndex, int count, RenderedCellsMoveState moveCellsState)
    Parameters
    Type Name Description
    System.Int32 removeAtRowIndex

    Index of the first row to remove.

    System.Int32 count

    The count.

    RenderedCellsMoveState moveCellsState

    State for moving cells. Use this when moving rows; otherwise specify null.

    TryGetVisual(RowColumnIndex, out DrawingVisual)

    Declaration
    public void TryGetVisual(RowColumnIndex rowColIndex, out DrawingVisual visual)
    Parameters
    Type Name Description
    RowColumnIndex rowColIndex
    System.Windows.Media.DrawingVisual visual
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved