GH_DocUndoEventArgs

EventArgsReferences
These arguments are passed along with UndoStateChanged events on GH_Document.

Properties

Document

#
public GH_Document Document { get; }
Gets the document that raised the event.

Operation

#
public GH_UndoOperation Operation { get; }
Gets the type of undo operation that caused this event.

Record

#
public GH_UndoRecord Record { get; }
Gets the UndoRecord pertaining to this event. Not every Event type has a single record associated with it so be sure to test for null.