[]
Gets or sets the border style.
public override BorderStyle BorderStyle { get; set; }
Public Overrides Property BorderStyle As BorderStyle
| Type | Description |
|---|---|
| BorderStyle | A BorderStyle enumeration that indicates the border style. |
You can use the BorderStyle property to create borderless and flat style controls, in addition to the default three-dimensional control.
| Type | Condition |
|---|---|
| InvalidEnumArgumentException | A value that is not within the range of valid values for the enumeration was assigned to the property. |