DataGridViewButtonColumn
Wisej.Web.DataGridViewButtonColumn
Last updated
Wisej.Web.DataGridViewButtonColumn
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
Initializes a new instance of the DataGridViewButtonColumn class to the default state.
Initializes a new instance of the DataGridViewButtonColumn class to the default state.
Name | Type | Description |
---|---|---|
cellTemplate | An existing DataGridViewButtonCell to use as a template. |
DataGridViewCell: Returns or sets the template used to model cell appearance.
Throws:
InvalidOperationException The type is null.
InvalidCastException The set type is not compatible with type DataGridViewButtonCell.
String: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true. (Default: ""
)
Throws:
InvalidOperationException When setting this property, the value of the CellTemplate property is null.
Boolean: Gets or sets a value indicating if the button in the cell uses the owning column's text instead of the value of the cell. (Default: False
)
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
InvalidOperationException The property CellTemplate is null.
Name | Description |
---|---|
All wisej components implement this interface. | |
Allows an object to serialize itself. |