StatusBarPanel.MinWidth Property

Definition

Gets or sets the minimum allowed width of the status bar panel within the StatusBar control.

C#
public int MinWidth { get; set; }

Property Value

The minimum width, in pixels, of the StatusBarPanel.

Exceptions

A value less than 0 is assigned to the property.

Remarks

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

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1

See also