Skip to main content

RibbonSelectBoxSubItemCollectionBuilder.Add(String, Object) Method

Adds a new item with the specified settings to the end of the select box sub-item collection.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

Declaration

public RibbonSelectBoxSubItemCollectionBuilder Add(
    string text,
    object value
)

Parameters

Name Type Description
text String

The item’s text.

value Object

The item’s value.

Returns

Type Description
RibbonSelectBoxSubItemCollectionBuilder

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

See Also