DropDownList::BorderColor Property
.NET Framework (current version)
Gets or sets the border color of the control.
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::ColorA System.Drawing::Color that represents the border color of the control.
Note |
|---|
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.
.NET Framework
Available since 1.1
Available since 1.1
Show:
