Skip to main content

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

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.v24.2.dll

NuGet Package: DevExpress.AspNetCore.Common

#Declaration

C#
public RibbonMenuSubItemCollectionBuilder Add(
    string text,
    string name,
    string icon,
    bool beginGroup
)

#Parameters

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.

#Returns

Type Description
RibbonMenuSubItemCollectionBuilder

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

See Also