ListBox.BorderColor Property


Gets or sets the border color of the control.

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

public override Color BorderColor { get; set; }

Property Value

Type: System.Drawing.Color

A System.Drawing.Color object that represents the border color of the control.


The BorderColor property is inherited from the WebControl class and is not applicable to the ListBox control.

.NET Framework
Available since 1.1
Return to top