Stops tracking changes by the specified command and reverts all changes done so far.
Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf
C# Copy Code |
---|
public void CancelChangeOperation ( |
Visual Basic Copy Code |
---|
Public Sub CancelChangeOperation( _ |
The command to cancel.
The usual scenario for cancelling a command is when an exception happens while the command is active. The code below illustrates this scenario.
C# Copy Code |
---|
var command = workbook.StartChangeOperation(worksheet); |
Visual Basic Copy Code |
---|
Dim command = workbook.StartChangeOperation(worksheet) |
Alternatively, the command can be cancelled by calling its Cancel method.