GH_CanvasDropTargetValidator Class |
Namespace: Grasshopper.GUI.Canvas
The GH_CanvasDropTargetValidator type exposes the following members.
Name | Description | |
---|---|---|
GH_CanvasDropTargetValidator | Initializes a new instance of the GH_CanvasDropTargetValidator class |
Name | Description | |
---|---|---|
Canvas |
Gets the canvas this validator is associated with.
(Inherited from GH_CanvasValidator.) | |
Document |
Gets the document (if it exists) that is currently loaded in the canvas.
(Inherited from GH_CanvasValidator.) | |
DropDelegate |
Gets or sets the delegate to be invoked when a component is dropped inside the dropregion.
| |
DropID |
Gets or sets the ID for the allowed component.
| |
DropRegion |
Gets or sets the dropregion for this validator.
Regions are cloned so you can dispose of the original immedately after assignment.
| |
DropText |
Gets or sets the text to display.
|
Name | Description | |
---|---|---|
AddedToCanvas | (Overrides GH_CanvasValidatorAddedToCanvas(GH_Canvas).) | |
AppliesToDocument | (Overrides GH_CanvasValidatorAppliesToDocument(Guid).) | |
CanAcceptObject | (Overrides GH_CanvasValidatorCanAcceptObject(Guid).) | |
CanCreateObject | (Overrides GH_CanvasValidatorCanCreateObject(Guid, PointF).) | |
CanCreateWire | (Inherited from GH_CanvasValidator.) | |
CanDeleteObject | (Overrides GH_CanvasValidatorCanDeleteObject(IGH_DocumentObject).) | |
CanDeleteWire | (Inherited from GH_CanvasValidator.) | |
CanDragObject | (Overrides GH_CanvasValidatorCanDragObject(IGH_DocumentObject, PointF).) | |
CanNavigateCanvas | (Inherited from GH_CanvasValidator.) | |
CanShowCanvasMenu | (Overrides GH_CanvasValidatorCanShowCanvasMenu(PointF).) | |
CanShowComponentSearchBox | (Overrides GH_CanvasValidatorCanShowComponentSearchBox(PointF).) | |
CanShowObjectMenu | (Inherited from GH_CanvasValidator.) | |
RemovedFromCanvas | (Overrides GH_CanvasValidatorRemovedFromCanvas(GH_Canvas).) |