Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET BorderColor Property

ASP.NET BorderColor Property


Web Control Standard Attributes Reference Manual Web control standard properties reference manual


Definition and Usage

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

Syntax

webcontrol

id="

id

" BorderColor=

"color"

runat="server"

/>

 

property Description
color The color set as the border color of the control. Must be a valid HTML color。

Example

The following example sets the border color of a table:

BorderWidth="5" GridLines="vertical">

  asp:TableRow

    asp:TableCellHello

    asp:TableCellWorld

  

Demo Example »


Web Control Standard Attributes Reference Manual Web control standard properties reference manual