Easy Tutorial
❮ Razor Syntax Met Websecurity Generatepasswordresettoken ❯

ASP.NET CssClass Property



Definition and Usage

The CssClass property is used to set or return the CSS style class for a control.

Syntax

Property Description
style A string value that specifies the CSS class used on the control.

Example

The following example sets a CSS style for a button:


❮ Razor Syntax Met Websecurity Generatepasswordresettoken ❯