WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum PortConstraints - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum PortConstraints

    Specifies to enable/disable certain behaviors for Ports.

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

    Fields

    Name Description
    Connectable

    Enables or disables connection to the Connector.

    ConnectionDirection

    Decide the connection direction of port based on ConnectionDirection

    Default

    Enables Inherit constraints.

    Draggable

    Defines whether port to be dragged at boundaries of node

    Dynamic

    Defines whether port to be connected at boundaries of node and pointed to the port.

    InConnect

    Enables or disables connecting to the incoming Connector.

    Inherit

    Enables or disables to inherit the value of PortVisibility, HitPadding and Connectable from Node.

    InheritConnectable

    Enables or disables to inherit the value of Connectable from Node.

    InheritHitPadding

    Enables or disables to inherit the value of HitPadding.

    InheritPortVisibility

    Enables or disables to inherit the value of PortVisibility from Node.

    None

    Disable all port Constraints.

    OutConnect

    Enables or disables connecting the outgoing Connector.

    Snapping

    Enables or disables snapping on node

    Extension Methods

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