Grasshopper API
GH_DocUndoEventArgs Class |
These arguments are passed along with UndoStateChanged events on GH_Document.

Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

The GH_DocUndoEventArgs type exposes the following members.

Name | Description | |
---|---|---|
![]() | Document |
Gets the document that raised the event.
|
![]() | Operation |
Gets the type of undo operation that caused this event.
|
![]() | 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.
|
