Back to Devexpress

BarItemLinkCollection.Add(BarItem, String) Method

windowsforms-devexpress-dot-xtrabars-dot-baritemlinkcollection-dot-add-x28-devexpress-dot-xtrabars-dot-baritem-system-dot-string-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual BarItemLink Add(
    BarItem item,
    string keyTip
)
vb
Public Overridable Function Add(
    item As BarItem,
    keyTip As String
) As BarItemLink

Parameters

NameTypeDescription
itemBarItem

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

TypeDescription
BarItemLink

A BarItemLink object that represents the added link.

|

See Also

BarItemLinkCollection Class

BarItemLinkCollection Members

DevExpress.XtraBars Namespace