Stretch Property

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 bool Stretch { get; set; }

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:
© 2016 Microsoft