Easy Tutorial
❮ Webpages Webgrid Prop Webcontrol Calendarday Isweekend ❯

ASP.NET BorderStyle Property



Definition and Usage

The BorderStyle property is used to set or return the border style of a control.

Syntax

Possible Style Values

Value Description
notSet The border style is not set.
none Defines no border.
dotted Defines a dotted border.
dashed Defines a dashed border.
solid Defines a solid border.
double Defines a double solid border. The width of the double lines is equal to the border-width value.
groove Defines a 3D grooved border. The effect depends on the border-color value.
ridge Defines a 3D ridged border. The effect depends on the border-color value.
inset Defines a 3D inset border. The effect depends on the border-color value.
outset Defines a 3D outset border. The effect depends on the border-color value.

Example

The following example sets the border style of a table:


❮ Webpages Webgrid Prop Webcontrol Calendarday Isweekend ❯