Easy Tutorial
❮ Met Websecurity Confirmaccount Webpages Ref Classes ❯

ASP.NET BackColor Property



Definition and Usage

The BackColor property is used to set or return the background color of a control.

Syntax

Property Description
color The color to set as the background color of the control. Must be a valid HTML color

Example

The following example sets the background color for a button:


❮ Met Websecurity Confirmaccount Webpages Ref Classes ❯