DropDownList.BorderStyle Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the border style of the control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override BorderStyle BorderStyle { get; set; }

Property Value

Type: System.Web.UI.WebControls.BorderStyle

One of the BorderStyle values.


The BorderStyle property is inherited from the WebControl class and is not applicable to the DropDownList control.

.NET Framework
Available since 1.1
Return to top