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

Bar.InsertItem(BarItemLink, BarItem) Method

Inserts a link in the Bar at the specified index.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual BarItemLink InsertItem(
    BarItemLink beforeLink,
    BarItem item
)

#Parameters

Name Type Description
beforeLink BarItemLink

An instance of the link before which a new link is inserted.

item BarItem

A BarItem descendant instance whose link is inserted.

#Returns

Type Description
BarItemLink

An instance of the added link.

See Also