DataGridViewRow Properties
.NET Framework 4.5
The DataGridViewRow type exposes the following members.
| Name | Description | |
|---|---|---|
|
AccessibilityObject | Gets the DataGridViewRow.DataGridViewRowAccessibleObject assigned to the DataGridViewRow. |
|
Cells | Gets the collection of cells that populate the row. |
|
ContextMenuStrip | Gets or sets the shortcut menu for the row. (Overrides DataGridViewBand.ContextMenuStrip.) |
|
DataBoundItem | Gets the data-bound object that populated the row. |
|
DataGridView | Gets the DataGridView control associated with this element. (Inherited from DataGridViewElement.) |
|
DefaultCellStyle | Gets or sets the default styles for the row, which are used to render cells in the row unless the styles are overridden. (Overrides DataGridViewBand.DefaultCellStyle.) |
|
DefaultHeaderCellType | Gets or sets the run-time type of the default header cell. (Inherited from DataGridViewBand.) |
|
Displayed | Gets a value indicating whether this row is displayed on the screen. (Overrides DataGridViewBand.Displayed.) |
|
DividerHeight | Gets or sets the height, in pixels, of the row divider. |
|
ErrorText | Gets or sets the error message text for row-level errors. |
|
Frozen | Gets or sets a value indicating whether the row is frozen. (Overrides DataGridViewBand.Frozen.) |
|
HasDefaultCellStyle | Gets a value indicating whether the DefaultCellStyle property has been set. (Inherited from DataGridViewBand.) |
|
HeaderCell | Gets or sets the row's header cell. |
|
HeaderCellCore | Gets or sets the header cell of the DataGridViewBand. (Inherited from DataGridViewBand.) |
|
Height | Gets or sets the current height of the row. |
|
Index | Gets the relative position of the band within the DataGridView control. (Inherited from DataGridViewBand.) |
|
InheritedStyle | Gets the cell style in effect for the row. (Overrides DataGridViewBand.InheritedStyle.) |
|
IsNewRow | Gets a value indicating whether the row is the row for new records. |
|
IsRow | Gets a value indicating whether the band represents a row. (Inherited from DataGridViewBand.) |
|
MinimumHeight | Gets or sets the minimum height of the row. |
|
ReadOnly | Gets or sets a value indicating whether the row is read-only. (Overrides DataGridViewBand.ReadOnly.) |
|
Resizable | Gets or sets a value indicating whether users can resize the row or indicating that the behavior is inherited from the DataGridView.AllowUserToResizeRows property. (Overrides DataGridViewBand.Resizable.) |
|
Selected | Gets or sets a value indicating whether the row is selected. (Overrides DataGridViewBand.Selected.) |
|
State | Gets the current state of the row. (Overrides DataGridViewElement.State.) |
|
Tag | Gets or sets the object that contains data to associate with the band. (Inherited from DataGridViewBand.) |
|
Visible | Gets or sets a value indicating whether the row is visible. (Overrides DataGridViewBand.Visible.) |