System.Web.UI.WebControls.Style.BorderStyle Property

Gets or sets the border style of the Web server control.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.BorderStyle.NotSet)]
public BorderStyle BorderStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Style.BorderStyle property to specify the border style for the Web server control. This property is set using one of the System.Web.UI.WebControls.BorderStyle enumeration values. The following table lists the possible values.

NotSet

The border style is not set.

None

No border

Dotted

A dotted line border.

Dashed

A dashed line border.

Solid

A solid line border.

Double

A solid double line border.

Groove

A grooved border for a sunken border appearance.

Ridge

A ridged border for a raised border appearance.

Inset

An inset border for a sunken control appearance.

Outset

An outset border for a raised control appearance.

Note:

This property will not render on some browsers.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0