A newer version of this page is available. Switch to the current version.

BootstrapToolbarItem.Items Property

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapToolbarMenuItemCollection Items { get; }
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property Items As BootstrapToolbarMenuItemCollection

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