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.v21.1.dll

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