Skip to main content
Version: 4.1

DataGridViewCheckBoxColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public class DataGridViewCheckBoxColumn : DataGridViewColumn

Constructors​

Instance member DataGridViewCheckBoxColumn()​

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

Instance member DataGridViewCheckBoxColumn(cellTemplate)​

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

NameTypeDescription
cellTemplateDataGridViewCheckBoxCellAn existing DataGridViewCheckBoxCell to use as a template.

Properties​

Instance member CellTemplate​

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

Value: A DataGridViewCell that all other cells in the column are modeled after.

Throws:

Instance member DefaultCellStyle​

DataGridViewCellStyle: Returns or sets the column's default cell style.

Value: The DataGridViewCellStyle to be applied as the default style.

Instance member FalseValue​

Object: Gets or sets the value that corresponds to false, which appears as an unchecked box. (Default: null)

Value: The value that the cells in this column will treat as a false value. The default is null.

This value is inherited by all the cells in the column that do not specify a value for this property.

Throws:

Instance member IndeterminateValue​

Object: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box. (Default: null)

Value: The value that the cells in this column will treat as an indeterminate or null value. The default is null.

This value is inherited by all the cells in the column that do not specify a value for this property.

Throws:

Instance member ThreeState​

Boolean: Returns or sets a value indicating if the checkbox cells support three states. (Default: False)

Value: true if the three states mode is enabled. The default is false.

This value is inherited by all the cells in the column that do not specify a value for this property.

Throws:

Instance member TrueValue​

Object: Gets or sets the value that corresponds to true, which appears as a checked box. (Default: null)

Value: The value that the cells in this column will treat as a true value. The default is null.

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.