GH_CanvasDropTargetValidator
GH_CanvasValidatorUtility validator for restricting component creation.
Constructors
GH_CanvasDropTargetValidator
#public GH_CanvasDropTargetValidator()
Properties
Document
Gets the document (if it exists) that is currently loaded in the canvas.
DropDelegate
#Gets or sets the delegate to be invoked when a component is dropped inside the dropregion.
DropRegion
#Gets or sets the dropregion for this validator. Regions are cloned so you can dispose of the original immedately after assignment.
Methods
AppliesToDocument
#Overrides: GH_CanvasValidator.AppliesToDocument
CanAcceptObject
#Overrides: GH_CanvasValidator.CanAcceptObject
CanCreateObject
#Overrides: GH_CanvasValidator.CanCreateObject
Implements: CanCreateWire
Implements: CanDeleteWire