DxTabBase.TabIconUrl Property
Specifies the tab’s icon URL.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[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:
<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>
Refer to Icons for more information.
See Also