System.Windows.Forms.DataGridBoolColumn.GetPreferredHeight Method

Gets the height used when resizing columns.

Syntax

protected override int GetPreferredHeight (System.Drawing.Graphics g, object value)

Parameters

g
A System.Drawing.Graphics that draws on the screen.
value
An object that contains the value to be drawn to the screen.

Returns

The height used to automatically resize cells in a column.

Remarks

Documentation for this section has not yet been entered.

Requirements

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