TileNavButtonCollection.Add(ITileNavButton) Method
In This Article
Adds an ITileNavButton to the TileNavButtonCollection.
Namespace: DevExpress.XtraBars.Navigation
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
button | ITile |
The ITile |
#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