BackgroundImage.ImageUrl Property
Gets or sets the URL of the image source for the BackgroundImage object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String value that specifies the location of an image. |
Remarks
Use the ImageUrl property to specify the URL of an image defined by the current BackgroundImage object. You can use a relative or 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 code updating.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageUrl 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.