Export (0) Print
Expand All

DropDownList.BorderColor Property

Gets or sets the border color of the control.

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

[<BrowsableAttribute(false)>]
abstract BorderColor : Color with get, set
[<BrowsableAttribute(false)>]
override BorderColor : Color with get, set

Property Value

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

NoteNote

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

The following code example demonstrates how to get or set the BorderColor property in a custom DropDownList control. For information about using custom server controls, see Walkthrough: Developing and Using a Custom Web Server Control.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft