System.Windows.Forms.DataGridBoolColumn Members

The members of System.Windows.Forms.DataGridBoolColumn are listed below.

See Also: Inherited members from System.Windows.Forms.DataGridColumnStyle

Public Constructors

Public Properties

AllowNullbool.

Gets or sets a value indicating whether null values are allowed.

FalseValueobject.

Gets or sets the actual value used when setting the value of the column to false.

NullValueobject.

Gets or sets the actual value used when setting the value of the column to DBNull.Value.

TrueValueobject.

Gets or sets the actual value used when setting the value of the column to true.

Protected Methods

override
Abort(int)

Initiates a request to interrupt an edit procedure.

override
Commit(CurrencyManager, int) : bool

Initiates a request to complete an editing procedure.

override
ConcedeFocus()
Documentation for this section has not yet been entered.
override
Edit(CurrencyManager, int, System.Drawing.Rectangle, bool, string, bool)

Prepares the cell for editing a value.

override
EnterNullValue()

Enters a DBNull.Value into the column.

override
GetColumnValueAtRow(CurrencyManager, int) : object

Gets the value at the specified row.

override
GetMinimumHeight() : int

Gets the height of a cell in a column.

override
GetPreferredHeight(System.Drawing.Graphics, object) : int

Gets the height used when resizing columns.

override
GetPreferredSize(System.Drawing.Graphics, object) : System.Drawing.Size

Gets the optimum width and height of a cell given a specific value to contain.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int)

Draws the System.Windows.Forms.DataGridBoolColumn with the given System.Drawing.Graphics, System.Drawing.Rectangle and row number.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int, bool)

Draws the System.Windows.Forms.DataGridBoolColumn with the given System.Drawing.Graphics, System.Drawing.Rectangle, row number, and alignment settings.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int, System.Drawing.Brush, System.Drawing.Brush, bool)

Draws the System.Windows.Forms.DataGridBoolColumn with the given System.Drawing.Graphics, System.Drawing.Rectangle, row number, System.Drawing.Brush, and System.Drawing.Color.

override
SetColumnValueAtRow(CurrencyManager, int, object)

Sets the value of a specified row.

Public Events

AllowNullChanged

Occurs when the DataGridBoolColumn.AllowNull property is changed.

FalseValueChanged

Occurs when the DataGridBoolColumn.FalseValue property is changed.

TrueValueChanged

Occurs when the DataGridBoolColumn.TrueValue property value is changed.