HeaderPane
Main
Hide
Share Link
Print

PreferredHeight Property, SftDate Object

Returns the height in pixels the control needs for its contents.

Syntax

C#int Height = object.PreferredHeight;
VB.NETHeight = object.PreferredHeight As Integer
C++long Height = object->PreferredHeight;
long Height = object->GetPreferredHeight();
CHRESULT object->get_PreferredHeight(long* Height);

object

A SftDate object.

Height

Returns the height in pixels the control needs for its contents.

Comments

The PreferredHeight property returns the height in pixels a date field control needs for its font (Font), border (BorderStyle) and the DPI of its monitor (DPI). p A field that sizes itself (AutoSize, the default) keeps this height.

See Also SftDate Object | Object Hierarchy


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.