BarItems.CreateMenu(String, BarItem[]) Method
Creates a new BarSubItem and adds it to the collection.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v26.1.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| caption | String | A String value that specifies the item’s caption. This value is assigned to the BarItem.Caption property. |
| items | BarItem[] | An array of BarItem objects (or descendants) that represents the collection of sub items. |
Returns
| Type | Description |
|---|---|
| BarSubItem | A BarSubItem object that represents the created bar item. |
See Also