Skip to main content

Bar.InsertItem(BarItemLink, BarItem) Method

Inserts a link in the Bar at the specified index.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.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