DataGridBoolColumn::GetPreferredHeight Method (Graphics^, Object^)

 
Use BaseTrue

Gets the height used when resizing columns.

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

public protected:
virtual int GetPreferredHeight(
	Graphics^ g,
	Object^ value
) override

Parameters

g
Type: System.Drawing::Graphics^

A Graphics that draws on the screen.

value
Type: System::Object^

An Object that contains the value to be drawn to the screen.

Return Value

Type: System::Int32

The height used to automatically resize cells in a column.

.NET Framework
Available since 1.1
Return to top
Show: