FactoryConnectorTool Class
Allows you to create custom connector tools.
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v24.2.Core.dll
Declaration
Remarks
The example below illustrates how to create a custom connector tool and use it as the Ribbon’s Connector tool.
Winforms:
diagramControl1.OptionsBehavior.ConnectorTool = new DevExpress.Diagram.Core.FactoryConnectorTool(
"CurvedConnector",
() => "CurvedConnector",
diagram => new DiagramConnector() { Type = DevExpress.Diagram.Core.ConnectorType.Curved });
WPF:
diagram.ConnectorTool = new DevExpress.Diagram.Core.FactoryConnectorTool(
"CurvedConnector",
() => "CurvedConnector",
diagram => new DiagramConnector() { Type = DevExpress.Diagram.Core.ConnectorType.Curved });
Inheritance
Object
DevExpress.Utils.ImmutableObject
DiagramTool
DevExpress.Diagram.Core.ConnectorTool
FactoryConnectorTool
See Also