Easy Tutorial
❮ Control Htmlinputimage Prop Webcontrol Standard Borderwidth ❯

ASP.NET BorderColor Property



Definition and Usage

The BorderColor property is used to set or return the border color of a control.

Syntax

Property Description
color The color to set for the control's border. Must be a valid HTML color

Example

The following example sets the border color of a table:


Try It - Demo

Set the Border Color of a Button Control (with declaration and script)


❮ Control Htmlinputimage Prop Webcontrol Standard Borderwidth ❯