ToolStripPanel.Dock ToolStripPanel.Dock ToolStripPanel.Dock ToolStripPanel.Dock Property

定义

获取或设置哪些控件边框停靠到其父控件并确定控件如何随其父级一起调整大小。Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

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 值之一。One of the DockStyle values. 默认值为 None。The default is None.

适用于

另请参阅