Class TreeRenderStyleInfoDictionary
A class that emulates a Dictionary API and contains TreeRenderStyleInfo objects. Internally rows are held in a dictionary and each row has a dictionary of cells. The class also provides support for adding, removing and moving rows and columns.
Inheritance
System.Object
TreeRenderStyleInfoDictionary
Implements
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<RowColumnIndex, TreeRenderStyleInfo>>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.Windows.Controls.VirtualTreeView
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public class TreeRenderStyleInfoDictionary : RowColumnIndexValueDictionary<TreeRenderStyleInfo>, IEnumerable<KeyValuePair<RowColumnIndex, TreeRenderStyleInfo>>, IEnumerable, IRowColumnIndexValueDictionaryCallbacks<TreeRenderStyleInfo>
Constructors
TreeRenderStyleInfoDictionary()
Initializes a new instance of the TreeRenderStyleInfoDictionary class.
Declaration
public TreeRenderStyleInfoDictionary()
Methods
OnMovedCell(RowColumnIndex, TreeRenderStyleInfo)
Called from RowColumnIndexValueDictionary<T> when a cell is moved after a InsertRows, RemoveRows, InsertColumns or RemoveColumns method call.
Declaration
public void OnMovedCell(RowColumnIndex cellRowColumnIndex, TreeRenderStyleInfo value)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | |
TreeRenderStyleInfo | value |
OnRemoveCell(RowColumnIndex, TreeRenderStyleInfo)
Called when from RowColumnIndexValueDictionary<T> when a cell is removed either by a RemoveRows, RemoveColumns, Remove or RemoveAll call.
Declaration
public void OnRemoveCell(RowColumnIndex cellRowColumnIndex, TreeRenderStyleInfo value)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
TreeRenderStyleInfo | value | The value. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable