DataGridViewBand

Wisej.Web.DataGridViewBand

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a linear collection of elements in a DataGridView control.

public class DataGridViewBand : DataGridViewElement, ICloneable, IUserData

Properties

ContextMenu

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

DefaultCellStyle

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

DefaultHeaderCellType

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

Throws:

DefaultMinimumSize

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

DefaultSize

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

Displayed

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

Frozen

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

HasDefaultCellStyle

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

HasUserData

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

HeaderCellCore

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

Throws:

Index

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

InheritedStyle

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

IsRow

Boolean: Returns true when the implementation class is DataGridViewRow.

ReadOnly

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

Resizable

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

Selected

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

Tag

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

UserData

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

Visible

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

Throws:

Methods

Clone()

Creates an exact copy of this band.

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

Dispose(disposing)

Releases the resources used by the DataGridViewBand.

Parameter
Type
Description

disposing

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

Inherited By

Name
Description

Represents a DataGridView column that contains a collection of DataGridViewButtonCell cells.

Represents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.

Represents a column in a DataGridView control.

Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.

Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.

Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.

Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.

Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.

Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

Represents a row in a DataGridView control.

Represents a summary row in a DataGridView control.

Implements

Name
Description

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

Last updated

Was this helpful?