BorderStyle Enumeration
.NET Framework (current version)
Specifies the border style of a control.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| Dashed | A dashed line border. | |
| Dotted | A dotted line border. | |
| Double | A double solid line border. | |
| Groove | A grooved border for a sunken border appearance. | |
| Inset | An inset border for a sunken control appearance. | |
| None | No border. | |
| NotSet | No set border style. | |
| Outset | An outset border for a raised control appearance. | |
| Ridge | A ridged border for a raised border appearance. | |
| Solid | A solid line border. |
The BorderStyle enumeration represents the different border style options for a control.
The width of the border is controlled by using the BorderWidth property of the WebControl class.
Note |
|---|
When using the Double style, the border width you specify must be at least 3 pixels wide to accommodate both lines and the space in between. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
