System.Windows.Forms.DataGridBoolColumn Class

Specifies a column in which each cell contains a check box for representing a Boolean value.

See Also: DataGridBoolColumn Members


public class DataGridBoolColumn : DataGridColumnStyle


The System.Windows.Forms.DataGridBoolColumn derives from the abstract class System.Windows.Forms.DataGridColumnStyle. At run time, the System.Windows.Forms.DataGridBoolColumn contains check boxes in each cell that have three states by default: checked (true), unchecked (false), and DBNull.Value. To use two-state check boxes, set the DataGridBoolColumn.AllowNull property to false.

Properties added to the class include DataGridBoolColumn.FalseValue, DataGridBoolColumn.NullValue, and DataGridBoolColumn.TrueValue. These properties specify the value underlying each of the column's states.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0,