ToolBar.Dock 屬性

定義

取得或設定哪些控制邊界對接到其父控制,並決定控制點如何與父控制進行調整大小。

public:
 virtual property System::Windows::Forms::DockStyle Dock { System::Windows::Forms::DockStyle get(); void set(System::Windows::Forms::DockStyle value); };
public override System.Windows.Forms.DockStyle Dock { get; set; }
member this.Dock : System.Windows.Forms.DockStyle with get, set
Public Overrides Property Dock As DockStyle

屬性值

這是其中一項 DockStyle 價值。 預設值為 None

適用於