Tab
A newer version of this page is available. Switch to the current version.

HottrackedImageProperties Class

Contains settings which define the normal and hottracked states of an image that can be displayed within particular elements of web controls.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class HottrackedImageProperties :
    ImagePropertiesBase
Public Class HottrackedImageProperties
    Inherits ImagePropertiesBase

Remarks

The HottrackedImageProperties class defines an individual image's settings. An image can be displayed within different elements of web controls (for instance, within items and group headers of a navbar control, within menu items of a menu control, etc).

Using the properties exposed by the HottrackedImageProperties class, you can specify the URLs of images for normal and hottracked states (ImagePropertiesBase.Url, HottrackedImageProperties.UrlHottracked), define the image size (ImagePropertiesBase.Width and ImagePropertiesBase.Height), set the alternate text displayed instead of the image, when the image is unavailable (ImagePropertiesBase.AlternateText, ImagePropertiesBase.DescriptionUrl) and customize image sprite settings (HottrackedImageProperties.SpriteProperties).

All graphic file formats that can be interpreted by internet browsers are supported. Note that if a PNG image with alpha channel is specified via the ImagePropertiesBase.Url or HottrackedImageProperties.UrlHottracked property, the image's size should be defined explicitly via the ImagePropertiesBase.Width and ImagePropertiesBase.Height properties, in order to correctly display the image at runtime.

Inheritance

See Also