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

BootstrapToolbarItemCollection.Item[Int32] Property

Provides indexed access to individual items within the BootstrapToolbarItemCollection.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

public BootstrapToolbarItem this[int index] { get; set; }
Public Property Item(index As Integer) As BootstrapToolbarItem

Parameters

Name Type Description
index Int32

An integer value specifying the zero-based index of the item to be accessed.

Property Value

Type Description
BootstrapToolbarItem

An BootstrapToolbarItem object representing an item located at the specified index within the collection.

Examples

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