Skip to main content

RichEditBarItemNames.InsertTextBox Property

Gets the Insert Text Box item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string InsertTextBox { get; }

Property Value

Type Description
String

The “InsertTextBox” string.

Remarks

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