Skip to main content

BootstrapToolbarItem.Items Property

Gets a collection that contains the toolbar items of the current toolbar item.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapToolbarMenuItemCollection Items { get; }

Property Value

Type Description
BootstrapToolbarMenuItemCollection

A BootstrapToolbarMenuItemCollection instance that is the collection of items.

Remarks

Bootstrap-Toolbar-DropDownItems

<dx:BootstrapToolbar runat="server">
    <Items>
        <dx:BootstrapToolbarItem IconCssClass="fa fa-copy">
        </dx:BootstrapToolbarItem>
        <dx:BootstrapToolbarItem Text="DropDown">
            <Items>
                <dx:BootstrapToolbarMenuItem Text="Keep Formatting"></dx:BootstrapToolbarMenuItem>
                <dx:BootstrapToolbarMenuItem Text="Keep Text Only"></dx:BootstrapToolbarMenuItem>
                <dx:BootstrapToolbarMenuItem Text="Paste Special">
                    <Items>
                        <dx:BootstrapToolbarMenuItem Text="Option 1"></dx:BootstrapToolbarMenuItem>
                        <dx:BootstrapToolbarMenuItem Text="Option 2"></dx:BootstrapToolbarMenuItem>
                    </Items>
                </dx:BootstrapToolbarMenuItem>
            </Items>
        </dx:BootstrapToolbarItem>
        <dx:BootstrapToolbarItem Text="DropDownMode=True" DropDownMode="true">
            <Items>
                <dx:BootstrapToolbarMenuItem Text="Option 1"></dx:BootstrapToolbarMenuItem>
                <dx:BootstrapToolbarMenuItem Text="Option 2"></dx:BootstrapToolbarMenuItem>
            </Items>
        </dx:BootstrapToolbarItem>
    </Items>
</dx:BootstrapToolbar>

Note

View the Demo To see this feature in action, please refer to the following online demo: DropDown Items.

See Also