Class GridRenderStyleInfoDictionary
A class that emulates a Dictionary API and contains GridRenderStyleInfo 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
GridRenderStyleInfoDictionary
Implements
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<RowColumnIndex, GridRenderStyleInfo>>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridRenderStyleInfoDictionary : RowColumnIndexValueDictionary<GridRenderStyleInfo>, IEnumerable<KeyValuePair<RowColumnIndex, GridRenderStyleInfo>>, IEnumerable, IRowColumnIndexValueDictionaryCallbacks<GridRenderStyleInfo>
Constructors
GridRenderStyleInfoDictionary()
Initializes a new instance of the GridRenderStyleInfoDictionary class.
Declaration
public GridRenderStyleInfoDictionary()
Methods
OnMovedCell(RowColumnIndex, GridRenderStyleInfo)
Called from RowColumnIndexValueDictionary<T> when a cell is moved after a InsertRows, RemoveRows, InsertColumns or RemoveColumns method call.
Declaration
public void OnMovedCell(RowColumnIndex cellRowColumnIndex, GridRenderStyleInfo value)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | The cell row column index. |
GridRenderStyleInfo | value | The cell style. |
OnRemoveCell(RowColumnIndex, GridRenderStyleInfo)
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, GridRenderStyleInfo value)
Parameters
Type | Name | Description |
---|---|---|
RowColumnIndex | cellRowColumnIndex | Index of the cell row column. |
GridRenderStyleInfo | value | The cell style. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable