DxTabBase.CssClass Property
Specifies the name of a CSS class applied to a tab.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v23.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public string CssClass { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | 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>
See Also