Gets or sets which control borders are docked to its parent control and how a control is resized with its parent.
Namespace: System.Extensions.Windows.FormsAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
public override DockStyle Dock { get; set; } |
Visual Basic |
---|
Public Overrides Property Dock As DockStyle
Get
Set |
Visual C++ |
---|
public:
virtual property DockStyle Dock {
DockStyle get () override;
void set (DockStyle value) override;
} |
F# |
---|
abstract Dock : DockStyle with get, set
override Dock : DockStyle with get, set |
Property Value
Type:
DockStyle
See Also