DataGridViewCheckBoxColumn

Wisej.Web.DataGridViewCheckBoxColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class DataGridViewCheckBoxColumn : DataGridViewColumn

Constructors

DataGridViewCheckBoxColumn()

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

DataGridViewCheckBoxColumn(cellTemplate)

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

NameTypeDescription

cellTemplate

An existing DataGridViewCheckBoxCell to use as a template.

Properties

CellTemplate

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

Throws:

DefaultCellStyle

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

FalseValue

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

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

IndeterminateValue

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

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

ThreeState

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

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

TrueValue

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

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

Implements

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated