0 out of 1 rated this helpful - Rate this topic

HtmlElement.CssClass Property

Silverlight

Gets or sets the cascading style sheet (CSS) class string for the current HTML element.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)
public string CssClass { get; set; }

Property Value

Type: System.String
A CSS class string if the element is associated with a CSS class; otherwise, an empty string.

An element can have more than one CSS class associated with it.

This property can be set to an empty string or null.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ