| layout | post |
|---|---|
| title | Drawing Tool in Windows Forms Diagram control | Syncfusion® |
| description | Learn about Drawing Tool support in Syncfusion® Windows Forms Diagram control, its elements, and more details. |
| platform | windowsforms |
| control | Diagram |
| documentation | ug |
WinForms Diagram control now provides a drawing tool to draw different types of connectors dynamically and connector types are listed below.
- LineConnector
- OrthogonalConnector
- OrgLineConnector
- PolylineConnector
- Spline
- BezierCurve
For Example, The OrgLineConnectorTool is used to draw the Org line connector dynamically.
{% tabs %} {% highlight c# %}
// Activates the Org line connector tool. diagram1.Controller.ActivateTool("OrgLineConnectorTool");
{% endhighlight %} {% highlight vb %}
'Activates the Org line connector tool. diagram1.Controller.ActivateTool("OrgLineConnectorTool")
{% endhighlight %} {% endtabs %}
Please refer to the Connectors sample from Windows Forms control Panel and find navigation path for the Connector sample as link.
Sample : Windows Forms Control Panel -> Diagram -> Getting Started -> Connectors
N> Looking for the full WinForms Diagram component overview, features, pricing, and documentation? Visit the WinForms Diagram page.
