menu

WPF

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

    Show / Hide Table of Contents

    Class GridControlRenderStyles

    Holds a collection of rendering styles for the grid cells.

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

    Properties

    Item[RowColumnIndex]

    Returns the render style for a specific cell.

    Declaration
    public GridRenderStyleInfo this[RowColumnIndex cell] { get; }
    Parameters
    Type Name Description
    RowColumnIndex cell

    Row and column indices as RowColumnIndex.

    Property Value
    Type Description
    GridRenderStyleInfo

    Render style for the cell.

    Item[Int32, Int32]

    Returns the render style for a specific cell.

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

    Cell row index.

    System.Int32 columnIndex

    Cell column index.

    Property Value
    Type Description
    GridRenderStyleInfo

    Render style for the cell.

    Methods

    Clear()

    Removes all entries from the render style dictionary.

    Declaration
    public void Clear()

    Clear(CellSpanInfoBase)

    Removes the render style entry for given cell span.

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

    Cell spanned range.

    Clear(RowColumnIndex)

    Removes the render style entry for the given cell.

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

    Row and column indices as RowColumnIndex.

    ConcludeArrange()

    Add GridRenderStyleInfo objects for cells scrolled into view or unload GridRenderStyleInfo objects for cells scrolled out of view.

    Declaration
    public void ConcludeArrange()

    GetRenderStyleInfo(RowColumnIndex)

    Gets the rendering style for a cell given its row and column indices.

    Declaration
    public GridRenderStyleInfo GetRenderStyleInfo(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Row and column indices as RowColumnIndex.

    Returns
    Type Description
    GridRenderStyleInfo

    Rendering cell style.

    GetRenderStyleInfo(RowColumnIndex, Boolean)

    Gets the rendering style for a cell given its row and column indices.

    Declaration
    public GridRenderStyleInfo GetRenderStyleInfo(RowColumnIndex cellRowColumnIndex, bool createDisposableObject)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Row and column indices as RowColumnIndex.

    System.Boolean createDisposableObject

    When true, returns a render style object that can be disposed.

    Returns
    Type Description
    GridRenderStyleInfo

    Rendering cell style.

    GetRenderStyleInfo(Int32, Int32)

    Returns the render style for a specific cell.

    Declaration
    public GridRenderStyleInfo GetRenderStyleInfo(int rowIndex, int columnIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Cell row index.

    System.Int32 columnIndex

    Cell column index.

    Returns
    Type Description
    GridRenderStyleInfo

    Render style for the cell.

    GetRenderStyleInfo(Int32, Int32, Boolean)

    Gets the rendering style for a cell given its row and column indices.

    Declaration
    public GridRenderStyleInfo GetRenderStyleInfo(int rowIndex, int columnIndex, bool createDisposableObject)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Row index.

    System.Int32 columnIndex

    Column index.

    System.Boolean createDisposableObject

    When true, returns a render style object that can be disposed.

    Returns
    Type Description
    GridRenderStyleInfo

    Rendering cell style.

    InsertColumns(Int32, Int32)

    Inserts the given no. of columns into the cell styles dictionary.

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

    The column index to insert.

    System.Int32 count

    No. of columns to be inserted.

    InsertColumns(Int32, Int32, GridRenderStyleInfoDictionary)

    Inserts the given no. of columns into the cell styles dictionary.

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

    The column index to insert.

    System.Int32 count

    No. of columns to be inserted.

    GridRenderStyleInfoDictionary moveCells

    The move cells.

    InsertRows(Int32, Int32)

    Inserts the given number of rows into the render styles dictionary.

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

    The insert row index.

    System.Int32 count

    Number of rows to insert.

    InsertRows(Int32, Int32, GridRenderStyleInfoDictionary)

    Inserts the given number of rows into the render styles dictionary.

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

    The insert row index.

    System.Int32 count

    Number of rows to insert.

    GridRenderStyleInfoDictionary moveCells

    The move cells.

    PrepareArrange()

    Create new GridRenderStyleInfo objects for cells scrolled into view or unload GridRenderStyleInfo objects for cells scrolled out of view.

    Declaration
    public void PrepareArrange()

    RemoveColumns(Int32, Int32)

    Removes the specified columns from the cell styles dictionary.

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

    Remove column index.

    System.Int32 count

    No. of columns to be removed.

    RemoveColumns(Int32, Int32, GridRenderStyleInfoDictionary)

    Removes the specified columns from the cell styles dictionary.

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

    Remove column index.

    System.Int32 count

    No. of columns to be removed.

    GridRenderStyleInfoDictionary moveCells

    The move cells.

    RemoveRows(Int32, Int32)

    Removes the specified rows from the cell styles dictionary.

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

    The remove row index.

    System.Int32 count

    Number of rows to remove.

    RemoveRows(Int32, Int32, GridRenderStyleInfoDictionary)

    Removes the specified rows from the cell styles dictionary.

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

    The remove row index.

    System.Int32 count

    Number of rows to remove.

    GridRenderStyleInfoDictionary moveCells

    The move cells.

    Resume()

    Declaration
    public void Resume()

    Suspend()

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