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

适用于