ActiveReports Developer 7
UndoManager Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v7 Assembly > GrapeCity.ActiveReports.Design Namespace > Designer Class : UndoManager Property

Glossary Item Box

The UndoManager allows users to undo and redo changes.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property UndoManager As UndoManager
C# 
public UndoManager UndoManager {get;}

Example

C#Copy Code
private void mnuEditUndo_Click(object sender, System.EventArgs e)
{
    this.ardMain.UndoManager.Undo();
}
Visual BasicCopy Code
'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