GH_DocFilePathEventArgs

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

Constructors

GH_DocFilePathEventArgs

#
public GH_DocFilePathEventArgs(GH_Document document, string oldPath, string newPath)
Create a new instance of the GH_DocFilePathEventArgs class.
document (GH_Document)
oldPath (string)
newPath (string)

Properties

Document

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

NewFilePath

#
public string NewFilePath { get; }
Gets the new filepath, the one currently assigned to this document.

OldFilePath

#
public string OldFilePath { get; }
Gets the old filepath, prior to the change that triggered this event.