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

RichEditToolbarGroupNames.TextBox Property

Gets the name of the toolbar’s Text Box group.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.2.dll

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
public static string TextBox { get; }

#Property Value

Type Description
String

The “TextBox” string.

#Remarks

The Rich Text Editor’s toolbar consists of multiple groups. The Text Box group includes the Insert Text Box item that allows users to insert a text box in a document.

Text Box Group

Use the TextBox property to perform the following operations:

The following code snippet removes the Insert Text Box item from the toolbar.

<DxRichEdit CustomizeToolbar="onCustomizeToolbar"
            BarMode=BarMode.Toolbar/>

@code {
    void onCustomizeToolbar(IToolbar toolbar) {
        string groupName = RichEditToolbarGroupNames.TextBox;
        string itemName = RichEditBarItemNames.InsertTextBox;
        toolbar.Groups[groupName].Items.Remove(itemName);
    }
}
See Also