ToolStripDropDown.DefaultDock 屬性

定義

取得 ToolStrip 的停駐位置,表示哪些框線要停駐到容器上。

protected:
 virtual property System::Windows::Forms::DockStyle DefaultDock { System::Windows::Forms::DockStyle get(); };
protected override System.Windows.Forms.DockStyle DefaultDock { get; }
member this.DefaultDock : System.Windows.Forms.DockStyle
Protected Overrides ReadOnly Property DefaultDock As DockStyle

屬性值

其中一個 DockStyle 值。 預設值是 Top。

適用於

另請參閱