Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileNavButtonCollection.Insert(Int32, ITileNavButton) Method

Inserts an ITileNavButton in the TileNavButtonCollection at the specified index.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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