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

適用於