Specifies how a System.Windows.Forms.StatusBarPanel on a System.Windows.Forms.StatusBar control behaves when the control resizes.
This enumeration is used by the StatusBarPanel.AutoSize property. The StatusBarPanel.AutoSize property specifies how a System.Windows.Forms.StatusBarPanel is autosized on a System.Windows.Forms.StatusBar control.
Member Name | Description |
---|---|
Contents |
The width of the System.Windows.Forms.StatusBarPanel is determined by its contents. |
None |
The System.Windows.Forms.StatusBarPanel does not change size when the System.Windows.Forms.StatusBar control resizes. |
Spring |
The System.Windows.Forms.StatusBarPanel shares the available space on the System.Windows.Forms.StatusBar (the space not taken up by other panels whose StatusBarPanel.AutoSize property is set to StatusBarPanelAutoSize.None or StatusBarPanelAutoSize.Contents) with other panels that have their StatusBarPanel.AutoSize property set to StatusBarPanelAutoSize.Spring. |