Skip to main content
Tab

ItemImageSpriteProperties.SelectedCssClass Property

Gets or sets the name of the cascading style sheet (CSS) class that defines a selected state image’s position within a custom sprite image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue("")]
public string SelectedCssClass { get; set; }

Property Value

Type Default Description
String String.Empty

A String value specifying the cascading style sheet class’ name.

Remarks

In order to define an image’s position within a sprite image using cascading style sheets, set the SelectedCssClass property to the name of the required CSS class which contains image settings (such as image width, height, horizontal and verticall offsets within the sprite).

To learn more, see Using named CSS classes section within the topic Custom CSS Sprites.

See Also