The System.Windows.Forms.DockingBehavior enumeration is used by the System.Windows.Forms.DockingAttribute class.
The System.Windows.Forms.SplitContainer and System.Windows.Forms.WebBrowser controls are set to DockingBehavior.AutoDock. The System.Windows.Forms.DataGridView control is set to DockingBehavior.Ask.
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. |