Skip to main content
Version: 3.5

DataGridViewBand

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a linear collection of elements in a DataGridView control.

public class DataGridViewBand : DataGridViewElement, ICloneable

Properties

Instance memberContextMenu

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

Instance memberDefaultCellStyle

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

Instance memberDefaultHeaderCellType

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

Throws:

Instance memberDisplayed

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

Instance memberFrozen

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

Instance memberHasDefaultCellStyle

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

Instance memberHasUserData

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

Instance memberIndex

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

Instance memberInheritedStyle

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

Instance memberIsRow

Boolean: Returns true when the implementation class is DataGridViewRow.

Instance memberReadOnly

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

Instance memberResizable

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

Instance memberSelected

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

Instance memberTag

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

Instance memberUserData

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

Instance memberVisible

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

Throws:

Methods

Instance memberClone()

Creates an exact copy of this band.

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

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.