Skip to main content
Bar

BarItemLinkCollection.Add(BarItem, String) Method

Adds a link to the specified bar item and key tip, and adds it to the end of the collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual BarItemLink Add(
    BarItem item,
    string keyTip
)

Parameters

Name Type Description
item BarItem

A BarItem descendant, for which the link is created and added to the collection.

keyTip String

A String value that specifies the Key Tips for the new link.

Returns

Type Description
BarItemLink

A BarItemLink object that represents the added link.

See Also