Back to Devexpress

BarItemLinkCollection.Add(BarItem, Boolean, String) Method

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

latest2.0 KB
Original Source

BarItemLinkCollection.Add(BarItem, Boolean, String) Method

Adds a new item link to the collection.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
itemBarItem

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

| | beginGroup | Boolean |

true to begin a group; otherwise, false.

| | 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