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

DxToolbarItemBase.DropDownCssClass Property

Specifies the name of the CSS class applied to the Toolbar Item’s drop-down.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string DropDownCssClass { get; set; }

Property Value

Type Description
String

The CSS class name.

Remarks

To define the appearance of the Toolbar Item’s drop-down, assign a CSS class name to its DropDownCssClass property.

<style>
    .my-style {
        background-color: green;
    }
</style>

<div class="card-header border p-2">
    <DxToolbar DropDownCssClass="my-style">
        <Items>
            <DxToolbarItem Text="Font Style" DropDownCssClass="my-style" BeginGroup="true">
                @* ... *@
            </DxToolbarItem>
        </Items>
    </DxToolbar>
</div>

Toolbar Item's drop-down CSS Class

For more information, see the following help topic: CSS Classes.

See Also