Skip to main content
All docs
V25.2
  • RichEditToolbarGroupNames.Field Property

    Gets the name of the toolbar’s Field group.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string Field { get; }

    Property Value

    Type Description
    String

    The “Field” string.

    Remarks

    The Rich Text Editor’s toolbar consists of multiple groups. The Field group includes the Insert Field Menu item that allows users to insert fields at the caret position.

    Field Group

    Use the Field property to perform the following operations:

    The following code snippet removes the Insert Field Menu item from the toolbar.

    <DxRichEdit CustomizeToolbar="onCustomizeToolbar"
                BarMode=BarMode.Toolbar/>
    
    @code {
        void onCustomizeToolbar(IToolbar toolbar) {
            string groupName = RichEditToolbarGroupNames.Field;
            string itemName = RichEditBarItemNames.InsertFieldMenu;
            toolbar.Groups[groupName].Items.Remove(itemName);
        }
    }
    
    See Also