MenuStrip::Stretch Property

 

Gets or sets a value indicating whether the MenuStrip stretches from end to end in its container.

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

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

Property Value

Type: System::Boolean

true if the MenuStrip stretches from end to end in its container; otherwise, false. The default is true.

.NET Framework
Available since 2.0
Return to top
Show: