Skip to main content
Tab

ImagePropertiesBase.IconID Property

Specifies an identifier of an image’s icon.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

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>
See Also