System.Windows.Forms.StatusBarPanel.MinWidth Property

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

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(10)]
public int MinWidth { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0