MinWidth Property

       

Returns or sets the minimum width of a StatusBar control's Panel object.

Syntax

object.MinWidth [= value]

The MinWidth property syntax has these parts:

Part Description
object An object expression that evaluates to a Panel object.
value An integer that determines the minimum width of a Panel object. The scale mode for this value is determined by the container of the control.

Remarks

The MinWidth property is used when the AutoSize property is set to Contents or Spring, to prevent the panel from autosizing to a width that is too small. When the AutoSize property is set to None, the MinWidth property is always set to the same value as the Width property.

The default value is the same as the default of the Width property. The value argument uses the same scale units as the scale mode of the parent form or container.