ASP.NET Pack Programmer's Guide
DiagramBase.ActionRecording Event
See Also
 





A validation event raised before an action is recorded in the undo buffer.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public event EventHandler<UndoValidationEventArgs> ActionRecording

Visual Basic  Copy Code

Public Event ActionRecording As EventHandler(Of UndoValidationEventArgs)

 Event Data

ActionRecording event handlers receive an argument of type UndoValidationEventArgs. The following UndoValidationEventArgs members provide information relevant to the event:

Member name

Description

Command

Refers to the Command instance that identifies the action being recorded.

Cancel

Set this property to true to prevent the action from being recorded in the undo buffer.

 Remarks

Do not filter commands that create or delete items and groups. Otherwise, redoing or undoing recorded commands related to the items whose create/delete command is filtered will cause various exceptions. We recommend to filter commands that modify an item, change its selection state, scroll a table, and so on.

 See Also

DiagramBase Members
DiagramBase Class
MindFusion.Diagramming Namespace
ActionRecorded Event
ActionRedone Event