Skip to main content
Tab

ASPxHyperLink.ImageUrl Property

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v25.2.dll

NuGet Package: DevExpress.Web

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 editor.

Remarks

This property is a wrapper of the HyperLinkProperties.ImageUrl property.

Example

This example demonstrates how to customize the ASPxHyperLink control.

<dx:ASPxHyperLink ID="ASPxHyperLink1" runat="server" Text="DevExpress" NavigateUrl="http://devexpress.com/" 
    ImageUrl="~/imgs/logo.png">
</dx:ASPxHyperLink>
See Also