Skip to main content
Tab

BackgroundImage.ImageUrl Property

Gets or sets the URL of the image source for the BackgroundImage object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

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.

See Also