This documentation is archived and is not being maintained.

ListBox.BorderColor Property

Gets or sets the border color of the control.

[Visual Basic]
Overrides Public Property BorderColor As Color
[C#]
public override Color BorderColor {get; set;}
[C++]
public: __property Color get_BorderColor();
public: __property void set_BorderColor(Color);
[JScript]
public override function get BorderColor() : Color;
public override function set BorderColor(Color);

Property Value

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

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ListBox Class | ListBox Members | System.Web.UI.WebControls Namespace

Show: