# GH_CanvasWireValidator class

Namespace: [Grasshopper.GUI.Canvas](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.canvas.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_CanvasWireValidator : GH_CanvasValidator
```

Utility validator for restricting wire creation.

## Constructors

- [GH_CanvasWireValidator](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/ctor.md)

## Properties

- [WireDelegate](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiredelegate.md): Gets or sets the delegate to be invoked when a wire is created.
- [WireMotionText](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiremotiontext.md): Gets or sets the text to draw at the wire interior.
- [WireSource](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiresource.md): Gets or sets the wire source filter.
- [WireSourceText](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiresourcetext.md): Gets or sets the text to draw at the wire source location.
- [WireTarget](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiretarget.md): Gets or sets the wire target filter.
- [WireTargetText](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/wiretargettext.md): Gets or sets the text to draw at the wire target location.

## Methods

- [AddedToCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/addedtocanvas.md)
- [AppliesToDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/appliestodocument.md)
- [CanAcceptObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/canacceptobject.md)
- [CanCreateObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/cancreateobject.md)
- [CanCreateWire](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/cancreatewire.md)
- [CanDeleteObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/candeleteobject.md)
- [CanDeleteWire](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/candeletewire.md)
- [CanDragObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/candragobject.md)
- [CanShowCanvasMenu](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/canshowcanvasmenu.md)
- [CanShowComponentSearchBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/canshowcomponentsearchbox.md)
- [RemovedFromCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvaswirevalidator/removedfromcanvas.md)

## Inherited Members

- From [GH_CanvasValidator](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasvalidator.md): [Canvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasvalidator/canvas.md), [Document](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasvalidator/document.md), [CanNavigateCanvas](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasvalidator/cannavigatecanvas.md), [CanShowObjectMenu](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasvalidator/canshowobjectmenu.md)
