Bar

BarLinkContainerItem.InsertItem(BarItemLink, BarItem) Method

Inserts a link in the BarLinkContainerItem at the specified index.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public virtual BarItemLink InsertItem(
    BarItemLink beforeLink,
    BarItem item
)
Public Overridable Function InsertItem(
    beforeLink As BarItemLink,
    item As BarItem
) As BarItemLink

Parameters

Name Type Description
beforeLink BarItemLink

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

item BarItem

A BarItem whose link is to be inserted.

Returns

Type Description
BarItemLink

An instance of the added link.

Implements

DevExpress.XtraBars.BarLinksHolder.InsertItem(BarItemLink, BarItem)
See Also