Skip to main content

BootstrapToolbar Class

Represents the control that allows you to supply your web application with a lightweight adaptive toolbar interface.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DXClientDocumentationProviderWeb("BootstrapToolbar")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapToolbar :
    BootstrapMenuBase

The following members return BootstrapToolbar objects:

Example

This example demonstrates the basic functionality of the Toolbar control.

  1. Initialize a new instance of the BootstrapToolbar class.
  2. Add required toolbar items (BootstrapToolbarItem objects) to the BootstrapToolbar.Items collection.
  3. Additional members:

The image below shows the result:

BootstrapToolbar_Default

function onDefaultToolbarItemClick(s, e) {
    dxbsDemo.showToast("The button '" + e.item.name + "' has been clicked.");
}
See Also