Skip to main content

RibbonColorBoxItemBuilder.TextOptions(String, Boolean) Method

Sets options of the text displayed next to the item.

Namespace: DevExpress.AspNetCore.Office

Assembly: DevExpress.AspNetCore.Common.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Common

Declaration

public RibbonColorBoxItemBuilder TextOptions(
    string text,
    bool displayAfterEditor = false
)

Parameters

Name Type Description
text String

The ribbon item text.

Optional Parameters

Name Type Default Description
displayAfterEditor Boolean False

true to display the text after the editor; false to display the text before the editor.

Returns

Type Description
RibbonColorBoxItemBuilder

The builder for a color box item.

See Also