ActiveReports 8
UndoManager Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v8 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also