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, IUserDataPublic Class DataGridViewBand
Inherits DataGridViewElement
Implements ICloneable, IUserDataProperties
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:
ArgumentException The specified value when setting this property is not a Type representing DataGridViewHeaderCell or a derived type.
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:
ArgumentException The specified value when setting this property is not a DataGridViewRowHeaderCell and this DataGridViewBand instance is of type DataGridViewRow; or the specified value when setting this property is not a DataGridViewColumnHeaderCell and this DataGridViewBand instance is of type DataGridViewColumn.
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:
InvalidOperationException The specified value when setting this property is false and the band is the row for new records.
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.
Inherited By
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
Provides access to the UserData and Tag properties associated to the component implementing this interface.
Last updated
Was this helpful?

