ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / UndoManager Property
Example

In This Topic
    UndoManager Property
    In This Topic
    The UndoManager allows users to undo and redo changes.
    Syntax
    'Declaration
     
    Public ReadOnly Property UndoManager As UndoManager
    public UndoManager UndoManager {get;}
    Example
    private void mnuEditUndo_Click(object sender, System.EventArgs e)
    {
        this.ardMain.UndoManager.Undo();
    }
    'mnuEditUndo_Click - calls the UndoManager.Undo command from the Designer
    Private Sub mnuEditUndo_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles mnuEditUndo.Click
        Me.ardMain.UndoManager.Undo()
    End Sub 'mnuEditUndo_Click
    See Also