GH_DocUndoEventArgs

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

Properties

Document

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

Operation

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

Record

#
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.
public GH_UndoRecord Record { get; }