Skip to main content

DxToolbarItem.DropDownCaption Property

Specifies the caption for the modal list with child items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public string DropDownCaption { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the caption.


A toolbar item displays a drop-down list if you populate the DxToolbarItem.Items collection. The drop-down list can be displayed as a regular sub-menu, as a modal dialog, or as a modal bottom sheet. You can specify the type explicitly or let the component adapt to the device type. To specify the display mode, use the following properties:

When you set these properties to ModalDialog or ModalBottomSheet, you can also specify the modal list’s caption. To do this, use the DropDownCaption property.

If you do not set the DropDownCaption property, the toolbar item text is used as the modal list’s caption.

<div class="card p-2">
            <DxToolbarItem Text="Format" BeginGroup="true">
                    <DxToolbarItem Text="Times New Roman" />
                    <DxToolbarItem Text="Tahoma" />
                    <DxToolbarItem Text="Verdana" />
            <DxToolbarItem Text="Size" 
                        DropDownCaption="Font Size">
                    <DxToolbarItem Text="8pt" />
                    <DxToolbarItem Text="10pt" />
                    <DxToolbarItem Text="12pt" />
            <DxToolbarItem Text="Style" 
                        DropDownCaption="Font Style">
                    <DxToolbarItem GroupName="align" IconCssClass="oi oi-align-left" />
                    <DxToolbarItem GroupName="align" IconCssClass="oi oi-align-center" />
                    <DxToolbarItem GroupName="align" IconCssClass="oi oi-align-right" />

Drop Down Caption

See Also