Skip to main content

RichEditToolbarGroupNames.Undo Property

Gets the name of the toolbar’s Undo group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string Undo { get; }

Property Value

Type Description
String

The “Undo” string.

Remarks

The Rich Text Editor’s toolbar consists of multiple groups. The Undo group includes the following items:

Redo
The button redoes the last operation.
Undo
The button undoes the last operation.

Undo Group

Use the Undo property to perform the following operations:

The code below removes the Redo item from the toolbar.

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

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