Skip to main content

DxTreeViewNode.IconUrl Property

Specifies the URL of the TreeView node’s icon.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


public string IconUrl { get; set; }

Property Value

Type Default Description
String null

The URL of the TreeView node’s icon.


Use the IconUrl property to specify the path to the TreeView node’s icon. The specified image is wrapped with the <img> tag when rendered. You can also specify the IconCssClass to apply the CSS class to the icon.

    .my-style {
        width: 16px;

        <DxTreeViewNode Name="Overview" 
                        IconCssClass="my-style" />
        <DxTreeViewNode Name="Editors" Text="Data Editors" />
        <DxTreeViewNode Name="FormLayout" Text="Form Layout" NavigateUrl="" />
        <DxTreeViewNode Name="TreeView" Text="TreeView" NavigateUrl="" />

Path to the TreeView Icon

See Also