Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlEditorToolbarGroupNames.UndoRedo Property

Gets the name of the Undo/Redo group.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public static string UndoRedo { get; }

#Property Value

Type Description
String

The “UndoRedo” string.

#Remarks

The Undo/Redo group in the HtmlEditor‘s toolbar includes the following items:

Undo
The button allows users to undo the last operation.
Redo
The button allows users to redo the last operation.

Html Editor - Toolbar UndoRedo Group

Use the UndoRedo property to perform the following operations:

The following code snippet removes all items from the toolbar’s Undo/Redo group:

Razor
<DxHtmlEditor Width="100%"
              Height="200px"
              CustomizeToolbar="@OnCustomizeToolbar"/>

@code {
    void OnCustomizeToolbar(IToolbar toolbar) {
        IBarGroup undoRedoGroup = toolbar.Groups[HtmlEditorToolbarGroupNames.UndoRedo];
        undoRedoGroup.Items.Clear();
    }
}
See Also