Skip to main content
A newer version of this page is available. .

DxTabBase.CssClass Property

Specifies the name of a CSS class applied to a tab.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string CssClass { get; set; }

Property Value

Type Description
String

The CSS class name.

Remarks

To define the appearance of the DxTab, assign a CSS class name to the CssClass property.

<style>
    .my-style {
        font-weight: 800;
    }
</style>

<div style="width:320px">
    <DxTabs>
        <DxTab CssClass="my-style" Text="Home"></DxTab>
        <DxTab Text="Products"></DxTab>
        <DxTab Text="Support"></DxTab>
    </DxTabs>
</div>

Css Class Applied to DxTab

See Also