Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTabBase.TabIconUrl Property

Specifies the tab’s icon URL.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

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

#Property Value

Type Default Description
String null

A URL that points to an icon.

#Remarks

The following code snippet assigns icons to tabs:

Razor
<DxTabs>
    <DxTab Text="Home" TabIconUrl="\images\home.svg"></DxTab>
    <DxTab Text="Products" TabIconUrl="\images\products.svg"></DxTab>
    <DxTab Text="Support" TabIconUrl="\images\support.svg"></DxTab>
</DxTabs>

Tabs with icons

Refer to Icons for more information.

#Implements

See Also