Skip to main content

DxToolbar.DropDownCssClass Property

Specifies the name of the CSS class applied to all Toolbar’s drop-downs.

Namespace: DevExpress.Blazor

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 all Toolbar’s drop-downs, assign a CSS class name to its DropDownCssClass property.

<style>
    .my-style {
        <!-- your CSS rules -->
    }
</style>

<div class="card p-2">
    <DxToolbar DropDownCssClass="my-style">
        <Items>
            @* ... *@
        </Items>
    </DxToolbar>
</div>

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

See Also