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
Declaration
[DefaultValue(null)]
[Parameter]
public string CssClass { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | 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>
Refer to CSS Classes for more information.
See Also