DockingBehavior Enumeration
.NET Framework (current version)
Specifies how a control should be docked by default when added through a designer.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| Ask | Prompt the user for the desired docking behavior. | |
| AutoDock | Set the control's Control.Dock property to DockStyle.Fill when it is dropped into a container with no other child controls. | |
| Never | Do not prompt the user for the desired docking behavior. |
The DockingBehavior enumeration is used by the System.Windows.Forms.DockingAttribute class.
The SplitContainer and WebBrowser controls are set to AutoDock. The DataGridView control is set to Ask.
.NET Framework
Available since 2.0
Available since 2.0
Show: