Skip to main content

RibbonMenuSubItemCollectionBuilder.Add(String, String, String, Boolean) Method

Adds a new item with the specified settings to the end of the menu item’s sub-item collection.

Namespace: DevExpress.AspNetCore.Office

Assembly: DevExpress.AspNetCore.Common.v22.1.dll


public RibbonMenuSubItemCollectionBuilder Add(
    string text,
    string name,
    string icon,
    bool beginGroup


Name Type Description
text String

The item’s text.

name String

The item’s command name.

icon String

The item’s icon identifier.

beginGroup Boolean

true, to display the item text; otherwise, false.


Type Description

An object that can be used to further configure the sub-item collection.

See Also