JS

RichEditRibbonItemCollectionBuilder.AddUndoItem() Method

Adds the Undo item to the ribbon item collection.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v20.2.dll

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