Skip to main content

DxToolbarItemBase.CssClass Property

Specifies the name of the item’s CSS class.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public string CssClass { get; set; }

Property Value

Type Default Description
String null

A string that specifies the name of a CSS class.


    .ToolbarItemCss {
        background-color: mediumpurple;
        border-color: mediumpurple;

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

Toolbar Item CSS Class

Refer to CSS Classes for more information.

See Also