GetMinimumHeight Method

DataGridTextBoxColumn.GetMinimumHeight Method ()

Use BaseTrue

Gets the height of a cell in a DataGridColumnStyle.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected internal override int GetMinimumHeight()

Return Value

Type: System.Int32

The height of a cell.

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

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft