In This Topic
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
Syntax
'Declaration
Public Overrides Property Dock As DockStyle
public override DockStyle Dock {get; set;}
Property Value
One of the
System.Windows.Forms.DockStyle values. The default is
System.Windows.Forms.DockStyle.None.
Exceptions
See Also