Skip to main content
Version: 4.1

DataGridViewBand

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a linear collection of elements in a DataGridView control.

public class DataGridViewBand : DataGridViewElement, ICloneable, IUserData

Properties​

Instance member ContextMenu​

ContextMenu: Returns or sets the shortcut menu for the row or the column object. (Default: null)

Instance member DefaultCellStyle​

DataGridViewCellStyle: Returns or sets the default cell style of the band.

Instance member DefaultHeaderCellType​

Type: Returns or sets the run-time type of the default header cell.

Throws:

Instance member DefaultMinimumSize​

Int32: Returns the default minimum size for the band (row or column.)

Instance member DefaultSize​

Int32: Returns the default size for the band (row or column.)

Instance member Displayed​

Boolean: Returns a value indicating whether the band is currently displayed on screen.

Instance member Frozen​

Boolean: Returns or sets whether the band will move when a user scrolls through the DataGridView. (Default: False)

Instance member HasDefaultCellStyle​

Boolean: Returns a value indicating whether the DefaultCellStyle property has been set.

Instance member HasUserData​

Boolean: Checks if the UserData dynamic object was created and has any value.

Protected member HeaderCellCore​

DataGridViewHeaderCell: Returns or sets the header cell of the DataGridViewBand.

Throws:

Instance member Index​

Int32: Returns the relative position of the band within the DataGridView control.

Instance member InheritedStyle​

DataGridViewCellStyle: Returns the cell style in effect for the current band, taking into account style inheritance.

Instance member IsRow​

Boolean: Returns true when the implementation class is DataGridViewRow.

Instance member ReadOnly​

Boolean: Returns or sets whether the user can edit the band's cells. (Default: False)

Instance member Resizable​

DataGridViewTriState: Returns or sets whether the band can be resized in the user interface (UI).

Instance member Selected​

Boolean: Returns or sets whether the band is in a selected user interface (UI) state.

Instance member Tag​

Object: Returns or sets the object that contains data to associate with the band.

Instance member UserData​

Object: Returns a dynamic object that can be used to store custom data in relation to this band.

Instance member Visible​

Boolean: Returns or sets whether the band is visible to the user. (Default: True)

Throws:

Methods​

Instance member Clone()​

Creates an exact copy of this band.

Returns: Object. An Object that represents the cloned DataGridViewBand.

Protected member Dispose(disposing)​

Releases the resources used by the DataGridViewBand.

ParameterTypeDescription
disposingBooleantrue when this method is called by the application rather than a finalizer.

Inherited By​

NameDescription
DataGridViewButtonColumnRepresents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
DataGridViewCheckBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
DataGridViewColumnRepresents a column in a DataGridView control.
DataGridViewComboBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
DataGridViewDateTimePickerColumnRepresents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
DataGridViewImageColumnRepresents a DataGridView column that contains a collection of DataGridViewImageCell cells.
DataGridViewLinkColumnRepresents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
DataGridViewMaskedTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewNumericUpDownColumnRepresents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
DataGridViewTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewRowRepresents a row in a DataGridView control.
DataGridViewSummaryRowRepresents a summary row in a DataGridView control.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.