BarItems.CreateMenu(String, BarItem[]) Method
In This Article
Creates a new BarSubItem and adds it to the collection.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public BarSubItem CreateMenu(
string caption,
params BarItem[] items
)
#Parameters
Name | Type | Description |
---|---|---|
caption | String | A String value that specifies the item’s caption. This value is assigned to the Bar |
items | Bar |
An array of Bar |
#Returns
Type | Description |
---|---|
Bar |
A Bar |
See Also