System.Windows.Forms.StatusBarPanelAutoSize Enumeration

Specifies how a System.Windows.Forms.StatusBarPanel on a System.Windows.Forms.StatusBar control behaves when the control resizes.

Syntax

public enum StatusBarPanelAutoSize

Remarks

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.

Members

Member NameDescription
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.

Requirements

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