blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-f14ef7a9.md
Gets the Insert Text Box item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string InsertTextBox { get; }
| Type | Description |
|---|---|
| String |
The “InsertTextBox” string.
|
The Insert Text Box item is a button in the ribbon’s Text group and the toolbar’s Text Box. This button allows users to insert a text box in a document.
Use the InsertTextBox property to perform the following operations:
The following code snippet removes the Insert Text Box item from the ribbon.
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.Insert;
string groupName = RichEditRibbonGroupNames.InsertText;
string itemName = RichEditBarItemNames.InsertTextBox;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also