ToolStrip::Stretch Property
.NET Framework (current version)
Gets or sets a value indicating whether the ToolStrip stretches from end to end in the ToolStripContainer.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property bool Stretch { virtual bool get() sealed; virtual void set(bool value) sealed; }
Property Value
Type: System::Booleantrue if the ToolStrip stretches from end to end in its ToolStripContainer; otherwise, false. The default is false.
Use the Stretch property to get or set whether the ToolStrip automatically fills its container.
.NET Framework
Available since 2.0
Available since 2.0
Show: