Back to Devexpress

GanttUndoToolbarItem Class

aspnet-devexpress-dot-web-dot-aspxgantt-94a0604e.md

latest2.7 KB
Original Source

GanttUndoToolbarItem Class

A toolbar item that reverses the last action.

Namespace : DevExpress.Web.ASPxGantt

Assembly : DevExpress.Web.ASPxGantt.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class GanttUndoToolbarItem :
    GanttDefaultToolbarItem
vb
Public Class GanttUndoToolbarItem
    Inherits GanttDefaultToolbarItem

Remarks

Create the GanttUndoToolbarItem class instance and add this item to the Items collection to add a toolbar item that reverses the last action.

aspx
<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar>
        <Items>
            <dx:GanttUndoToolbarItem Text="Undo" />
            <dx:GanttRedoToolbarItem Text="Redo" />
        </Items>
    </SettingsToolbar>
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Toolbar

Run Demo: (MVC) Gantt Toolbar

Examples

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

IEnumerable

IHierarchyData

Inheritance

Object StateManager CollectionItem MenuItem GanttToolbarItemBase GanttDefaultToolbarItem GanttUndoToolbarItem

See Also

GanttUndoToolbarItem Members

ASPxGantt - 'How To' Examples

DevExpress.Web.ASPxGantt Namespace