MenuStrip.Stretch MenuStrip.Stretch MenuStrip.Stretch MenuStrip.Stretch Property

定義

取得或設定值,指出 MenuStrip 是否會在其容器中的兩端之間自動縮放。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

屬性值

如果 MenuStrip 會在其容器中的兩端之間自動縮放則為 true,否則為 falsetrue if the MenuStrip stretches from end to end in its container; otherwise, false. 預設為 trueThe default is true.

適用於