Export (0) Print
Expand All

DataGridViewBand Members

Represents a linear collection of elements in a DataGridView control.

The following tables list the members exposed by the DataGridViewBand type.

(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

(see also Protected Methods )
  Name Description
Public method Clone Creates an exact copy of this band.
Public method Dispose Overloaded. Releases all resources used by the DataGridViewBand.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Returns a string that represents the current band.
Top

  Name Description
Protected method Dispose Overloaded. Releases all resources used by the DataGridViewBand.
Protected method Finalize Overridden. Releases the resources associated with the band.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDataGridViewChanged Overridden. Called when the band is associated with a different DataGridView.
Protected method RaiseCellClick  Raises the DataGridView.CellClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellContentClick  Raises the DataGridView.CellContentClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellContentDoubleClick  Raises the DataGridView.CellContentDoubleClick event. (Inherited from DataGridViewElement.)
Protected method RaiseCellValueChanged  Raises the DataGridView.CellValueChanged event. (Inherited from DataGridViewElement.)
Protected method RaiseDataError  Raises the DataGridView.DataError event. (Inherited from DataGridViewElement.)
Protected method RaiseMouseWheel  Raises the Control.MouseWheel event. (Inherited from DataGridViewElement.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft