Skip to main content
Tab

ImagePropertiesBase.IconID Property

Specifies an identifier of an image’s icon.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String String.Empty

The icon identifier.

Remarks

DevExpress ASP.NET controls ship with a rich collection of icons created by our design team. To learn more see the Icon Collection help topic.

The DevExpress ASP.NET Subscription includes a collection of icons that you can use as an element’s image in most DevExpress controls. Use the IconID property to assign an icon to the image.

Note

The control ignores the IconID property if the image’s URL is specified.

Run Demo: Icon Library Explorer

<dx:ASPxButton ID="ASPxButton1" CssClass="button" runat="server">  
    <Image IconID="navigation_home_32x32">  
    </Image>  
</dx:ASPxButton>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IconID 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