ToolStripStatusLabel::Spring Property
.NET Framework (current version)
Gets or sets a value indicating whether the ToolStripStatusLabel automatically fills the available space on the StatusStrip as the form is resized.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Booleantrue 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: