Bar.InsertItem(BarItemLink, BarItem) Method

Inserts a link in the Bar at the specified index.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll

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