DataGridComboBoxColumnStyle.GetPreferredHeight Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.CLRAdmin
Assembly:  mscorcfg (in mscorcfg.dll)

Syntax

'Declaration
Protected Overrides Function GetPreferredHeight ( _
    g As Graphics, _
    value As Object _
) As Integer
'Usage
Dim g As Graphics 
Dim value As Object 
Dim returnValue As Integer 

returnValue = Me.GetPreferredHeight(g, _
    value)
protected override int GetPreferredHeight(
    Graphics g,
    Object value
)
protected:
virtual int GetPreferredHeight(
    Graphics^ g, 
    Object^ value
) override
protected override function GetPreferredHeight(
    g : Graphics, 
    value : Object
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 1.1, 1.0

See Also

Reference

DataGridComboBoxColumnStyle Class

DataGridComboBoxColumnStyle Members

Microsoft.CLRAdmin Namespace