System.Windows.Forms.DockingBehavior.AutoDock Field

Set the control's Control.Dock property to DockStyle.Fill when it is dropped into a container with no other child controls.

Syntax

DockingBehavior AutoDock

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0