CanUndo Method CanUndo() Indicating whether the undo operation can be performed. Declaration public bool CanUndo() Returns Type Description System.Boolean True if succeed; otherwise false.