Bewerken

Share via


MenuStrip.Stretch Property

Definition

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

public:
 property bool Stretch { bool get(); void set(bool value); };
public bool Stretch { get; set; }
member this.Stretch : bool with get, set
Public Property Stretch As Boolean

Property Value

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

Applies to