ImageSpriteProperties.CssClass Property
Gets or sets the name of the cascading style sheet (CSS) class that defines a normal state image’s position within a custom sprite image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
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 CssClass 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 the ‘Using named CSS classes‘ section within the topic Using Custom CSS Sprites.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CssClass property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.