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.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property DockStyle Dock {
	virtual DockStyle get() override;
	virtual void set(DockStyle value) override;
}

Property Value

Type: System.Windows.Forms::DockStyle

One of the DockStyle values. The default is None.

.NET Framework
Available since 2.0
Return to top
Show: