Skip to main content
All docs
V26.1
  • DxTabBase.TabIconUrl Property

    Specifies the tab icon URL.

    Namespace: DevExpress.Blazor.Base

    Assembly: DevExpress.Blazor.v26.1.dll

    Declaration

    [DefaultValue(null)]
    [Parameter]
    public string TabIconUrl { get; set; }

    Property Value

    Type Default Description
    String null

    The tab icon URL.

    Remarks

    The following code snippet assigns icons to tabs using Icon Library APIs:

    Blazor Tabs - Use the DevExpress Icon Library

    @using DevExpress.Images.Blazor
    
    <DxTabs>
        <DxTab Text="Home" TabIconUrl="@Icon.Home" />
        <DxTab Text="Products" TabIconUrl="@Icon.CubeProduct" />
        <DxTab Text="Support" TabIconUrl="@Icon.SupportAgent" />
    </DxTabs>
    

    Refer to the Icons help topic for additional information about icons in DevExpress Blazor components.

    Implements

    See Also