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

RibbonColorBoxItemBuilder.TextOptions(String, Boolean) Method

Sets options of the text displayed next to the item.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

#Declaration

C#
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