Specifies how a control should be docked by default when added through a designer.
Public Enumeration DockingBehavior
public enum DockingBehavior
public enum class DockingBehavior
type DockingBehavior
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2