System.Windows.Forms.DataGridTextBoxColumn.GetMinimumHeight Method

Gets the height of a cell in a System.Windows.Forms.DataGridColumnStyle.

Syntax

protected override int GetMinimumHeight ()

Returns

The height of a cell.

Remarks

The value returned by DataGridTextBoxColumn.GetMinimumHeight is calculated by adding the size of the column's font plus a margin value.

Requirements

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