Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarItemLinkCollection.Add(BarItem, Boolean, String, String, Boolean, Boolean) Method

Creates a new item link with the specific settings, and places it into this collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual BarItemLink Add(
    BarItem item,
    bool beginGroup,
    string keyTip,
    string dropDownKeyTip,
    bool buttonGroup,
    bool allowCollapseInSimplifiedRibbon
)

#Parameters

Name Type Description
item BarItem

A BarItem that the newly created link should represent.

beginGroup Boolean

true if this link should start a group; otherwise, false.

keyTip String

The BarItemLink.KeyTip property for this link.

dropDownKeyTip String

The BarButtonItemLink.DropDownKeyTip property value for this link.

buttonGroup Boolean

The BarItemLink.ActAsButtonGroup property value for this link.

allowCollapseInSimplifiedRibbon Boolean

The BarItemLink.AllowCollapseInSimplifiedRibbon property value for this link.

#Returns

Type Description
BarItemLink

A newly created BarItemLink.

See Also