GH_CanvasWireValidator Class

GH_CanvasWireValidator Class

Utility validator for restricting wire creation.
Inheritance Hierarchy
SystemObject
  Grasshopper.GUI.CanvasGH_CanvasValidator
    Grasshopper.GUI.CanvasGH_CanvasWireValidator

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public class GH_CanvasWireValidator : GH_CanvasValidator
Public Class GH_CanvasWireValidator
	Inherits GH_CanvasValidator

The GH_CanvasWireValidator type exposes the following members.

Constructors
  NameDescription
Public methodGH_CanvasWireValidator
Initializes a new instance of the GH_CanvasWireValidator class
Top
Properties
  NameDescription
Protected propertyCanvas
Gets the canvas this validator is associated with.
(Inherited from GH_CanvasValidator.)
Protected propertyDocument
Gets the document (if it exists) that is currently loaded in the canvas.
(Inherited from GH_CanvasValidator.)
Public propertyWireDelegate
Gets or sets the delegate to be invoked when a wire is created.
Public propertyWireMotionText
Gets or sets the text to draw at the wire interior.
Public propertyWireSource
Gets or sets the wire source filter.
Public propertyWireSourceText
Gets or sets the text to draw at the wire source location.
Public propertyWireTarget
Gets or sets the wire target filter.
Public propertyWireTargetText
Gets or sets the text to draw at the wire target location.
Top
Methods
See Also