PopupMenuBase.InsertItem(BarItemLink, BarItem) Method
Inserts a new item link in the item link collection of the current PopupMenuBase object before a specific collection element.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
beforeLink | BarItemLink | The member of the item link collection before which a new item link is inserted. |
item | BarItem | The BarItem whose link is inserted. |
Returns
Type | Description |
---|---|
BarItemLink | The BarItemLink inserted in the collection. |
Remarks
If the item link collection is empty, then a new item link becomes the first collection member.
See Also