HottrackedImageProperties.UrlHottracked Property
Gets or sets the URL of the image used for an element’s hottracked state.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String value that specifies the location of an image. |
Remarks
Use the UrlHottracked property to specify the URL of an image which is defined by the current HottrackedImageProperties object, and is used to represent the corresponding element in a hottracked state.
You can use a relative or an absolute URL. A relative URL relates the location of the image to the location of the Web page without specifying a complete path on the server. The path is relative to the location of the Web page. This makes it easier to move the entire site to another directory on the server without updating the code. An absolute URL provides the complete path, thus moving the site to another directory requires a code update.
An image’s size can be defined via the ImagePropertiesBase.Width and ImagePropertiesBase.Height properties. Note that in order to correctly display a PNG file with alpha channel at runtime, the image’s size (the ImagePropertiesBase.Width and ImagePropertiesBase.Height properties) should be specified explicitly.