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

TileNavButtonCollection.Add(ITileNavButton) Method

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

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