Skip to main content
Version: 4.1

DataGridViewButtonColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public class DataGridViewButtonColumn : DataGridViewColumn

Constructors​

Instance member DataGridViewButtonColumn()​

Initializes a new instance of the DataGridViewButtonColumn class to the default state.

Instance member DataGridViewButtonColumn(cellTemplate)​

Initializes a new instance of the DataGridViewButtonColumn class to the default state.

NameTypeDescription
cellTemplateDataGridViewButtonCellAn existing DataGridViewButtonCell to use as a template.

Properties​

Instance member CellTemplate​

DataGridViewCell: Returns or sets the template used to model cell appearance.

Throws:

Instance member Text​

String: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true. (Default: "")

Throws:

Instance member UseColumnTextForButtonValue​

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:

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.