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

DxToolbarItemBase.CssClass Property

Specifies the name of the item’s CSS class.

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

A string that specifies the name of a CSS class.

Remarks

<style>
    .ToolbarItemCss {
        background-color: mediumpurple;
        border-color: mediumpurple;
    }
</style>

<DxToolbar>
    <DxToolbarItem CssClass="ToolbarItemCss" Text="Insert"></DxToolbarItem>
    <DxToolbarItem Text="Edit"></DxToolbarItem>
    <DxToolbarItem Text="Delete"></DxToolbarItem>
</DxToolbar>

Toolbar Item CSS Class

Refer to CSS Classes for more information.

See Also