Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataGridViewBand Properties

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

  Name Description
Protected property HeaderCellCore Gets or sets the header cell of the DataGridViewBand.
Protected property IsRow Gets a value indicating whether the band represents a row.
Top

Community Additions

ADD
Show:
© 2015 Microsoft