Class TreeControlRenderStyles
Provides routines for managing cell styles (TreeRenderStyleInfo) of rendered cells that have been scrolled into view.
An instance of this class can be accessed with the RenderStyles property of a VirtualTreeView.
Inheritance
Namespace: Syncfusion.Windows.Controls.VirtualTreeView
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public class TreeControlRenderStyles : Object
Properties
Item[RowColumnIndex]
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo this[RowColumnIndex cell] { get; }
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cell |
Property Value
Type |
---|
TreeRenderStyleInfo |
Item[Int32, Int32]
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo this[int rowIndex, int columnIndex] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | columnIndex |
Property Value
Type |
---|
TreeRenderStyleInfo |
Methods
Clear()
Clears the cached rendered cell information for all visible cells.
Declaration
public void Clear()
Clear(CellSpanInfoBase)
Clears the cached rendered cell information for all cells in the span.
Declaration
public void Clear(CellSpanInfoBase cellSpan)
Parameters
Type | Name | Description |
---|---|---|
CellSpanInfoBase | cellSpan | The cell span. |
Clear(RowColumnIndex)
Clears the cached rendered cell information for the specified cell.
Declaration
public void Clear(RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
GetRenderStyleInfo(RowColumnIndex)
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo GetRenderStyleInfo(RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
Returns
Type |
---|
TreeRenderStyleInfo |
GetRenderStyleInfo(RowColumnIndex, Boolean)
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo GetRenderStyleInfo(RowColumnIndex cellRowColumnIndex, bool createDisposableObject)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
System.Boolean | createDisposableObject | if set to |
Returns
Type |
---|
TreeRenderStyleInfo |
GetRenderStyleInfo(Int32, Int32)
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo GetRenderStyleInfo(int rowIndex, int columnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Index of the row. |
System.Int32 | columnIndex | Index of the column. |
Returns
Type |
---|
TreeRenderStyleInfo |
GetRenderStyleInfo(Int32, Int32, Boolean)
Gets the render cell style for a cell.
Declaration
public TreeRenderStyleInfo GetRenderStyleInfo(int rowIndex, int columnIndex, bool createDisposableObject)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Index of the row. |
System.Int32 | columnIndex | Index of the column. |
System.Boolean | createDisposableObject | if set to |
Returns
Type |
---|
TreeRenderStyleInfo |
InsertColumns(Int32, Int32)
Update cell styles cell row 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, TreeRenderStyleInfoDictionary)
Update cell styles cell row and column index when columns were inserted.
Declaration
public void InsertColumns(int insertAtColumnIndex, int count, TreeRenderStyleInfoDictionary moveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | insertAtColumnIndex | The column index. |
System.Int32 | count | The number of inserted columns. |
TreeRenderStyleInfoDictionary | moveCells | The move cells state used when moving columns. |
InsertRows(Int32, Int32)
Update cell styles 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, TreeRenderStyleInfoDictionary)
Update cell styles cell row and column index when rows were inserted.
Declaration
public void InsertRows(int insertAtRowIndex, int count, TreeRenderStyleInfoDictionary moveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | insertAtRowIndex | The row index. |
System.Int32 | count | The number of inserted rows. |
TreeRenderStyleInfoDictionary | moveCells | The move cells state used when moving rows. |
RemoveColumns(Int32, Int32)
Update cell styles cell row 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 inserted columns. |
RemoveColumns(Int32, Int32, TreeRenderStyleInfoDictionary)
Update cell styles cell row and column index when columns were removed.
Declaration
public void RemoveColumns(int removeAtColumnIndex, int count, TreeRenderStyleInfoDictionary moveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAtColumnIndex | The column index. |
System.Int32 | count | The number of inserted columns. |
TreeRenderStyleInfoDictionary | moveCells | The move cells state used when moving columns. |
RemoveRows(Int32, Int32)
Update cell styles cell row and column index when rows were removed.
Declaration
public void RemoveRows(int removeAtRowIndex, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAtRowIndex | Index of the remove at row. |
System.Int32 | count | The number of inserted rows. |
RemoveRows(Int32, Int32, TreeRenderStyleInfoDictionary)
Update cell styles cell row and column index when rows were removed.
Declaration
public void RemoveRows(int removeAtRowIndex, int count, TreeRenderStyleInfoDictionary moveCells)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | removeAtRowIndex | Index of the remove at row. |
System.Int32 | count | The number of inserted rows. |
TreeRenderStyleInfoDictionary | moveCells | The move cells state used when moving rows. |