WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ArrangedCellUIElementsManager - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ArrangedCellUIElementsManager

    Provides routines for managing cells visuals (aka UIElement children) of rendered cells that have been associated with one or more UIElement visuals. An instance of this class can be accessed with the ArrangedCellUIElements property of a VirtualizingCellsControl.

    Inheritance
    System.Object
    ArrangedCellUIElementsManager
    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 ArrangedCellUIElementsManager

    Methods

    Contains(RowColumnIndex)

    Determines whether the specified cell has UIElement children and if the children are alive.

    Declaration
    public bool Contains(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Index of the cell row column.

    Returns
    Type Description
    System.Boolean

    true if the specified cell has UIElement children and if the children are alive; otherwise, false.

    GetCellUIElements(RowColumnIndex)

    Gets the cell visuals for a cell.

    Declaration
    public CellUIElements GetCellUIElements(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Index of the cell row column.

    Returns
    Type Description
    CellUIElements

    GetCellUIElements(Int32, Int32)

    Gets the cell visuals for a cell.

    Declaration
    public CellUIElements GetCellUIElements(int rowIndex, int columnIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Index of the row.

    System.Int32 columnIndex

    Index of the column.

    Returns
    Type Description
    CellUIElements

    InsertColumns(Int32, Int32)

    Update visuals cell column and column index when columns were inserted.

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

    The column index.

    System.Int32 count

    The number of inserted columns.

    InsertColumns(Int32, Int32, CellUIElementsDictionary)

    Update visuals cell column and column index when columns were inserted.

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

    The column index.

    System.Int32 count

    The number of inserted columns.

    CellUIElementsDictionary moveVisuals

    A container with saved state from a preceeding RemoveColumns(Int32, Int32) call when columns should be moved.

    InsertRows(Int32, Int32)

    Update visuals cell row and column index when rows were inserted.

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

    The row index.

    System.Int32 count

    The number of inserted rows.

    InsertRows(Int32, Int32, CellUIElementsDictionary)

    Update visuals cell row and column index when rows were inserted.

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

    The row index.

    System.Int32 count

    The number of inserted rows.

    CellUIElementsDictionary moveVisuals

    A container with saved state from a preceeding RemoveRows(Int32, Int32) call when rows should be moved.

    Invalidate(CellSpanInfoBase)

    Marks the visuals for a range of cells to be reinitialized with a call to EraseRenderedCell(RowColumnIndex, Rect) next time OnRender is called.

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

    The range of cells.

    Invalidate(RowColumnIndex)

    Marks the visuals for a cell to be reinitialized with a call to EraseRenderedCell(RowColumnIndex, Rect) next time OnRender is called.

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

    Index of the cell row column.

    RemoveColumns(Int32, Int32)

    Update visuals cell column and column index when columns were removed.

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

    The column index.

    System.Int32 count

    The number of removed columns.

    RemoveColumns(Int32, Int32, CellUIElementsDictionary)

    Update visuals cell column and column index when columns were removed.

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

    Index of the remove at column.

    System.Int32 count

    The number of removed columns.

    CellUIElementsDictionary moveVisuals

    A container to save state for a subsequent InsertColumns(Int32, Int32) call when columns should be moved. When null, cell visuals that belong to the removed columns are unloaded. Otherwise these visuals will be saved into this container.

    RemoveRows(Int32, Int32)

    Update visuals cell row and column index when rows were removed.

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

    The row index.

    System.Int32 count

    The number of removed rows.

    RemoveRows(Int32, Int32, CellUIElementsDictionary)

    Update visuals cell row and column index when rows were removed.

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

    Index of the remove at row.

    System.Int32 count

    The number of removed rows.

    CellUIElementsDictionary moveVisuals

    A container to save state for a subsequent InsertRows(Int32, Int32) call when rows should be moved. When null, cell visuals that belong to the removed rows are unloaded. Otherwise these visuals will be saved into this container.

    Unload(CellSpanInfoBase)

    Clears the visuals for a range of cells and unloads them.

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

    The range of cells.

    Unload(RowColumnIndex)

    Clears the visuals for a single cell only and unloads them.

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

    Index of the cell row column.

    UnloadAll()

    Clears all cell visuals and unloads them.

    Declaration
    public void UnloadAll()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved