BorderColor Property
Collapse the table of content
Expand the table of content

DropDownList::BorderColor Property

 

Gets or sets the border color of the control.

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

public:
[BrowsableAttribute(false)]
property Color BorderColor {
	virtual Color get() override;
	virtual void set(Color value) override;
}

Property Value

Type: System.Drawing::Color

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

System_CAPS_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.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft