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

ASPxButton.ImageUrl Property

Gets or sets the path to the image displayed within the button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A String value which specifies the URL that represents the path to the image displayed within the button.

Remarks

Use the ImageUrl property to specify an URL which represents the path to the image displayed within the button control.

All graphic file formats which can be interpreted by internet browsers are supported. The image’s URL can represent either an absolute or relative path.

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.

See Also