BorderStyle Enumeration
.NET Framework 3.0
Specifies the border style of a control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
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. |
Community Additions
ADD
Show:
Note: