ToolStripStatusLabel::Spring Property

 

Gets or sets a value indicating whether the ToolStripStatusLabel automatically fills the available space on the StatusStrip as the form is resized.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool Spring {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the ToolStripStatusLabel automatically fills the available space on the StatusStrip as the form is resized; otherwise, false. The default is false.

Set the Spring property to true to enable the ToolStripStatusLabel to smoothly resize along with its container.

The following code example demonstrates the syntax for various ToolStripStatusLabel common properties, including the Spring property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: