Interface IGridData
IGridData defines an interface that GridStyleInfoIdentity utilizes to query cell contents, base styles, look up cell types, and save changes back to the grid.
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public interface IGridData
Properties
BaseStylesMap
Gets or sets the GridBaseStylesMap that is stored with BaseStylesMap.
Declaration
GridBaseStylesMap BaseStylesMap { get; }
Property Value
Type |
---|
GridBaseStylesMap |
Item[Int32, Int32]
Gets or sets a GridStyleInfo at a given row and column index.
Declaration
GridStyleInfo this[int rowIndex, int colIndex] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | colIndex |
Property Value
Type |
---|
GridStyleInfo |
Methods
GetBaseStyles(GridStyleInfo, Int32, Int32)
Gets an array that consists of table, row, and column base styles for the specified row and column index.
Declaration
GridStyleInfo[] GetBaseStyles(GridStyleInfo styleInfo, int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | styleInfo | |
System.Int32 | rowIndex | |
System.Int32 | colIndex |
Returns
Type | Description |
---|---|
GridStyleInfo[] | returns GridStyleInfo array |
LookupCellModel(String)
Looks up a GridCellModelBase for a given cell type as specified with CellType.
Declaration
GridCellModelBase LookupCellModel(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id |
Returns
Type | Description |
---|---|
GridCellModelBase | returns GridCellModelBase |