Skip to main content
JS

RichEditRibbonItemCollectionBuilder.AddUndoItem() Method

Adds the Undo item to the ribbon item collection.

Namespace: DevExpress.AspNetCore.RichEdit

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

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public RibbonButtonItemBuilder AddUndoItem()

Returns

Type Description
RibbonButtonItemBuilder

An object that can be used to further configure the added item.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.Clear();
            tabs.Add("History")
                .Items(items => {
                    items.AddUndoItem();
                    items.AddRedoItem();
                    //...
See Also