Skip to main content
A newer version of this page is available. .

TileNavButtonCollection.Insert(Int32, ITileNavButton) Method

Inserts an ITileNavButton in the TileNavButtonCollection at the specified index.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public void Insert(
    int index,
    ITileNavButton button
)

Parameters

Name Type Description
index Int32

The zero-based index at which button should be inserted.

button ITileNavButton

The ITileNavButton to insert into the TileNavButtonCollection.

Remarks

If the TileNavButtonCollection already contains a button, first the Insert method removes it from the collection and then inserts at the index. If the index is greater than the number of items in the collection, the Insert method inserts the button at the end of the collection.

See Also