DataGridViewBand Properties
.NET Framework 4.5
The DataGridViewBand type exposes the following members.
| Name | Description | |
|---|---|---|
|
ContextMenuStrip | Gets or sets the shortcut menu for the band. |
|
DataGridView | Gets the DataGridView control associated with this element. (Inherited from DataGridViewElement.) |
|
DefaultCellStyle | Gets or sets the default cell style of the band. |
|
DefaultHeaderCellType | Gets or sets the run-time type of the default header cell. |
|
Displayed | Gets a value indicating whether the band is currently displayed onscreen. |
|
Frozen | Gets or sets a value indicating whether the band will move when a user scrolls through the DataGridView. |
|
HasDefaultCellStyle | Gets a value indicating whether the DefaultCellStyle property has been set. |
|
HeaderCellCore | Gets or sets the header cell of the DataGridViewBand. |
|
Index | Gets the relative position of the band within the DataGridView control. |
|
InheritedStyle | Gets the cell style in effect for the current band, taking into account style inheritance. |
|
IsRow | Gets a value indicating whether the band represents a row. |
|
ReadOnly | Gets or sets a value indicating whether the user can edit the band's cells. |
|
Resizable | Gets or sets a value indicating whether the band can be resized in the user interface (UI). |
|
Selected | Gets or sets a value indicating whether the band is in a selected user interface (UI) state. |
|
State | Gets the user interface (UI) state of the element. (Inherited from DataGridViewElement.) |
|
Tag | Gets or sets the object that contains data to associate with the band. |
|
Visible | Gets or sets a value indicating whether the band is visible to the user. |