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