Easy Tutorial
❮ Aspnet Ref Webcontrols Aspnet Arraylist ❯

ASP.NET BorderWidth Property



Definition and Usage

The BorderWidth property is used to set or return the border width of a control.

Syntax

Property Description
length The width of the border. Must be a valid .NET length unit. Valid length units are: cm, mm, in, pt, pc, or px.

Example

The following example sets the border width of a table:


Try It - Demo

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


❮ Aspnet Ref Webcontrols Aspnet Arraylist ❯