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.Add(ITileNavButton) Method

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public int Add(
    ITileNavButton button
)

#Parameters

Name Type Description
button ITileNavButton

The ITileNavButton to add to the TileNavButtonCollection.

#Returns

Type Description
Int32

The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

#Remarks

If the TileNavButtonCollection already contains a button, first the Add method removes it from the collection and then adds it to the end of the collection.

See Also