Skip to main content
A newer version of this page is available. .
Tab

ImagesBase.SpriteImageUrl Property

Gets or sets the path to a sprite image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String String.Empty

A String value that specifies the path to the sprite image.

Remarks

Use the SpriteImageUrl property to specify a custom sprite image used by the control. Settings of individual control images combined into the sprite can be defined using the ImagePropertiesBase.Height, ImagePropertiesBase.Width and ImageSpriteProperties.Left and ImageSpriteProperties.Top properties, which are exposed at the image level.

To learn more, see the topic CSS Image Sprites.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SpriteImageUrl 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.

See Also