BarItemLinkCollection.Add(BarItem, Boolean, String, String, Boolean, Boolean) Method
In This Article
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 | Bar |
A Bar |
begin |
Boolean | true if this link should start a group; otherwise, false. |
key |
String | The Bar |
drop |
String | The Bar |
button |
Boolean | The Bar |
allow |
Boolean | The Bar |
#Returns
Type | Description |
---|---|
Bar |
A newly created Bar |
See Also