System.Windows.Forms.StatusBarPanel.Width Property

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

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(100)]
public int Width { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The StatusBarPanel.Width property always reflects the actual width of a System.Windows.Forms.StatusBarPanel and cannot be smaller than the StatusBarPanel.MinWidth property. To automatically resize the width of the System.Windows.Forms.StatusBarPanel to the contents of the System.Windows.Forms.StatusBarPanel, you can use the StatusBarPanel.AutoSize 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