Gets or sets which edge of the parent container a control is docked to.
'Declaration
Public Shadows Property Dock As DockStyle
'Usage
Dim instance As WinButton
Dim value As DockStyle
instance.Dock = value
value = instance.Dock
public new DockStyle Dock {get; set;}
Property Value
A
System.Windows.Forms.DockStyle value representing which edge of the parent container a control is docked to. By default, DockStyle.None.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2