menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum ConnectorConstraints - API Reference

    Show / Hide Table of Contents

    Enum ConnectorConstraints

    Specifies to enable/disable certain behaviors for Connectors.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    [Flags]
    public enum ConnectorConstraints : ulong

    Fields

    Name Description
    AllowDrop

    Enables or disables interaction events(DragEnter,DragOver,ItemDrop and DragLeave) for diagram connectors.

    AllowPan

    Enables or disables panning for connector.

    AutomaticPortCreation

    Enables or disables automatic port creation for connector

    BridgeObstacle

    Enables or disables bridging over a connector.

    Bridging

    Enables or disables bridging to the connector.

    Connectable

    Enables or disables a node to connect to the connector.

    Default

    Enables Selectable, EndDraggable, Inherit, Thumbs, Connectable, Delete, BridgeObstacle, ThemeStyle behaviors for connector.

    Delete

    Enable or disables the connector to be deleted.

    DragAnnotation

    Enables or disable connector's annotation to be dragged.

    Draggable

    Enables or disables connector to be dragged.

    EndDraggable

    Enables or disables connector end to be dragged.

    EndThumbs

    Enables or disables connector's end thumbs to be dragged.

    InConnect

    Enables or disables connecting to the incoming connector.

    Inherit

    Enables or disables to inherit the Snapping, SnapToObject,Bridging, Smoothness, Menu, PortVisibility, Pan, HitPadding and Routing from SfDiagram.

    InheritAllowPan

    Enable or disables panning of connector over graph.

    InheritAutomaticPortCreation

    Enables or disables to inherit the value of automatic port creation from diagram.

    InheritBridging

    Enables or disables to inherit the value of bridging from SfDiagram.

    InheritHitPadding

    Enables or disables to inherit the value of HitPadding.

    InheritMenu

    Enables or disables to inherit the menu from SfDiagram.

    InheritPortVisibility

    Enables or disables to inherit the value from PortVisibility.

    InheritRestrictNegativeAxisDragDrop

    Enables or disables dragging operation at negative axis from SfDiagram.

    InheritRouting

    Enables or disables to inherit the value of routing from SfDiagram.

    InheritSmoothness

    Enables or disables to inherit the value of Smoothness from SfDiagram.

    InheritSnapping

    Enables or disables to inherit the value of SnapToLines from SfDiagram by using SnapConstraints.

    InheritSnapToObject

    Enables or disables to inherit the value of SnapToObject from SfDiagram by using SnapConstraints.

    Menu

    Enables or disables the context menu for connector.

    None

    Disable all behaviors for connector.

    OutConnect

    Enables or disables connecting to the outgoing connector.

    RestrictNegativeAxisDragDrop

    Enables or disables dragging operation at negative axis.

    Routing

    Enables or disables routing to the connector.

    SegmentThumbs

    Enables or disables control point and end point of every segment in a connector for editing.

    Selectable

    Enables or disables connector to be selected.

    SnapToHorizontalLines

    Enables or disables to snap to horizontal gridlines.

    SnapToLines

    Enables or disables nodes to snap to gridlines.

    SnapToVerticalLines

    Enables or disables to snap to vertical gridlines.

    SourceDraggable

    Enables or disables to drag the source end of the connector.

    TargetDraggable

    Enables or disables to drag the target end of the connector.

    ThemeStyle

    Enables or disables themestyle for connector.

    Thumbs

    Enables or disables connector's thumbs to be dragged.

    Extension Methods

    DiagramExtensions.Add(ConnectorConstraints[])
    DiagramExtensions.Remove(ConnectorConstraints[])
    DiagramExtensions.Toggle(ConnectorConstraints[])
    DiagramExtensions.Contains(ConnectorConstraints)
    DiagramExtensions.ContainsAll(ConnectorConstraints)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved