[]
Class that represents a grid row.
public class Row : RowCol, ITypedList
This class does not have a public constructor. You can add and remove rows using methods in the grid's Rows property, which exposes the row collection.
Name | Description |
---|---|
Bottom | Gets the position of the bottom of this row, in pixels, relative to the grid. |
Caption | Gets or sets the text of the first fixed cell in the row. |
DataIndex | Gets the index of this row in the RowCollection collection, excluding fixed and node rows. |
DataSource | Gets the object that provides data for this row. |
Height | Gets or sets the height of this row, in pixels (the value -1 represents the default row height). |
HeightDisplay | Gets or sets the display height for this row, in pixels. |
Index | Gets the index of this row in the RowCollection collection. |
IsNew | Indicates the row is a placeholder for adding new rows to the grid. |
IsNode | Gets or sets whether this row is a node row in an outline. |
this[int] | Gets or sets the cell value specified by the column index in this row. |
this[string] | Gets or sets the cell value specified by the column name in this row. |
Node | Gets the Node object associated with this row. |
SafeIndex | Gets the index of this row in the RowCollection collection. |
Selected | Gets or sets whether this row is selected. |
Top | Gets the position of the top of this row, in pixels, relative to the grid. |
Name | Description |
---|---|
Clear(ClearFlags) | Clears this row. |
Invalidate() | Invalidates this row, causing it to be repainted. |
Move(int) | Moves a row to a new position in the collection. |