NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Label.PreferredHeight

Gets the height of the control (in pixels), assuming a single line of text is displayed.

[Visual Basic]
Overridable Public ReadOnly Property PreferredHeight As Integer
[C#]
public int PreferredHeight {virtual get;}
[C++]
public: __property virtual int get_PreferredHeight();
[JScript]
public function get PreferredHeight() : int;

Property Value

The height of the control (in pixels), assuming a single line of text is displayed.

See Also

Label Class | Label Members | System.WinForms Namespace | PreferredWidth