Enum ConnectorConstraints
Enables or disables certain behaviors and features of the connectors.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
[Flags]
public enum ConnectorConstraints
Examples
Connector connector = new Connector()
{
//set the ConnectorConstraints...
Constraints = ConnectorConstraints.Default & ~ConnectorConstraints.Select
};
Fields
| Name | Description |
|---|---|
| AllowDrop | Enables to trigger a drop event when any object is dragged or dropped onto the connector. |
| Bridging | Enables or disables bridging to the connector. |
| ConnectToNearByElement | Enables or disables connecting to the nearest elements. |
| ConnectToNearByNode | Enables or disables connecting to the nearest node. |
| ConnectToNearByPort | Enables or disables connecting to the nearest port. |
| Default | Enables all constraints for the connector. |
| Delete | Enables or disables the deletion of a connector. |
| Drag | Enables or disables the connector from being dragged. |
| DragSegmentThumb | Enables or disables the control point and endpoint of every segment in a connector for editing. |
| DragSourceEnd | Enables or disables the connector's source end from being dragged. |
| DragTargetEnd | Enables or disables the connector’s target end from being dragged. |
| InheritBridging | Enables or disables inheriting the value of bridging from the diagram. |
| InheritRouting | Specifies whether to inherit the routing value from SfDiagramComponent. |
| InheritSegmentThumbShape | Specifies whether to inherit the segment thumb shape from SfDiagramComponent. |
| InheritTooltip | Enables or disables to inherit the value of Tooltip from SfDiagramComponent. |
| Interaction | Enables or disables the interaction of the connector. |
| None | Disables all the connector Constraints. |
| PointerEvents | Enables to set the pointer-events. |
| ReadOnly | Enables or disables read-only for the connector. |
| Routing | Specifies whether routing to the connector is enabled or disabled. |
| Select | Enables or disables the selection of a connector. |
| Tooltip | Enables or disables tooltip for the connectors |