DxToolbarItemBase.CssClass Property

Specifies the name of the item’s CSS class.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.1.dll

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