Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public string DropDownCssClass { get; set; }

Property Value

Type Default Description
String null

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 {
        <!-- your CSS rules -->
    }
</style>

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

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

See Also