blazor-devexpress-dot-blazor-dot-richedit-dot-richedittoolbargroupnames-86788de7.md
Gets the name of the toolbar’s Text Box group.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string TextBox { get; }
| Type | Description |
|---|---|
| String |
The “TextBox” string.
|
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.
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
RichEditToolbarGroupNames Class