| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property Dock As DockStyle | |
| C# | |
|---|---|
public virtual DockStyle Dock {get; set;} | |
Property Value
One of the System.Windows.Forms.DockStyle values. The default is System.Windows.Forms.DockStyle.None.| Exception | Description |
|---|---|
| System.ComponentModel.InvalidEnumArgumentException | The value assigned is not one of the System.Windows.Forms.DockStyle values. |