System.Web.UI.WebControls.WebControl.BorderStyle Property

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

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the WebControl.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 browsers earlier than Microsoft Internet Explorer 4 for any Web server control. There is no equivalent to it in HTML 3.2.

Requirements

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