minimumHeight

Type: Integer

Availability: Read or write at any time

The minimumHeight property of the Form class contains the minimum height (in pixels) of the form. Use this property if you want to prevent users from resizing the form below the specified height. (For details about setting a minimum width, see the minimumWidth property.)

The minimum height is retained even if logic attempts to set the height of the form below the equivalent minimum height.

Windows imposes a minimum height and width so that the form caption buttons are always visible. The effective minimum sizes are therefore the maximum of the size imposed by Windows and the minimumHeight and minimumWidth values.

The minimumHeight property of the JadeDockBase class (from version 2016.0.01) contains the minimum height (in pixels) of the control. Use this property if you want to prevent users from resizing the control below the specified height. (For details about setting a minimum width, see the minimumWidth property.)

The default value of this property is zero (0), with values in the range zero (0) through 32767 pixels permitted. If the property value is zero (0), the property is ignored and has no effect.

The minimumHeight property applies only to dock controls that are aligned horizontally (that is, when the alignContainer property value is set to AlignContainer_AllHorizontal, AlignContainer_Bottom, or AlignContainer_Top); otherwise the property value is ignored.

The minimumHeight property controls the minimum height of the control when:

The value of the minimumHeight property cannot be greater than the value of the maximumHeight property unless the maximumHeight property is set to the default value of zero (0). If the values of the minimumHeight and maximumHeight properties are the same, no resize bar is displayed below the control, even if the value of the showResizeBar property is true.

The value of the minimumHeight property of the JadeDockBase class has no impact on the allowed sizes of the parent form on which it appears.