menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NodeConstraints - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NodeConstraints

    Specifies to enable/disable certain behaviors for Nodes.

    Inheritance
    System.Object
    NodeConstraints
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public sealed class NodeConstraints : Enum

    Fields

    AllowDrop

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

    Declaration
    public const NodeConstraints AllowDrop
    Field Value
    Type
    NodeConstraints

    AllowPan

    Enables or disables panning for the node.

    Declaration
    public const NodeConstraints AllowPan
    Field Value
    Type
    NodeConstraints

    AspectRatio

    Enables or disables node to be resize proportionaly.

    Declaration
    public const NodeConstraints AspectRatio
    Field Value
    Type
    NodeConstraints

    AutomaticPortCreation

    Enables or disables automatic port creation for node

    Declaration
    public const NodeConstraints AutomaticPortCreation
    Field Value
    Type
    NodeConstraints

    Connectable

    Enables or disables a node to connect to the connector.

    Declaration
    public const NodeConstraints Connectable
    Field Value
    Type
    NodeConstraints

    Default

    Enables Selectable, Draggable, Resizable, Rotatable, Connectable, Inherit, RoutingObstacle, PivotDraggable, Delete, ThemeStyle constraints.

    Declaration
    public const NodeConstraints Default
    Field Value
    Type
    NodeConstraints

    Delete

    Enables or disables delect operation for node.

    Declaration
    public const NodeConstraints Delete
    Field Value
    Type
    NodeConstraints

    DragAnnotation

    Enables or disables node's annotation to be draggable.

    Declaration
    public const NodeConstraints DragAnnotation
    Field Value
    Type
    NodeConstraints

    Draggable

    Enables or disables a node to be dragged.

    Declaration
    public const NodeConstraints Draggable
    Field Value
    Type
    NodeConstraints

    DynamicPortConnection

    Enable or disables to auto connector with port point when mouse hover on Node's bounds.

    Declaration
    public const NodeConstraints DynamicPortConnection
    Field Value
    Type
    NodeConstraints

    ExcludeFromLayout

    Enables or disables to exclude the node from layout.

    Declaration
    public const NodeConstraints ExcludeFromLayout
    Field Value
    Type
    NodeConstraints

    InConnect

    Enables or disables connection for incoming connector.

    Declaration
    public const NodeConstraints InConnect
    Field Value
    Type
    NodeConstraints

    Inherit

    Enables or disables to inherit all the Dragging, Resizing, Rotating, Snapping, SnapToObject, and PortVisibility from SfDiagram.

    Declaration
    public const NodeConstraints Inherit
    Field Value
    Type
    NodeConstraints

    InheritAllowPan

    Enables or disables a node to pan from graph level

    Declaration
    public const NodeConstraints InheritAllowPan
    Field Value
    Type
    NodeConstraints

    InheritAutomaticPortCreation

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

    Declaration
    public const NodeConstraints InheritAutomaticPortCreation
    Field Value
    Type
    NodeConstraints

    InheritDraggable

    Enables or disables to inherit the value for draggable from diagram.

    Declaration
    public const NodeConstraints InheritDraggable
    Field Value
    Type
    NodeConstraints

    InheritHitPadding

    Enables or disables to inherit the value for hitpadding from diagram.

    Declaration
    public const NodeConstraints InheritHitPadding
    Field Value
    Type
    NodeConstraints

    InheritMenu

    Enables or disables to inherit the context menu from node.

    Declaration
    public const NodeConstraints InheritMenu
    Field Value
    Type
    NodeConstraints

    InheritPortVisibility

    Enables or disables to inherit the value of PortVisibility.

    Declaration
    public const NodeConstraints InheritPortVisibility
    Field Value
    Type
    NodeConstraints

    InheritResizable

    Enables or disables to inherit the value for resizable from diagram.

    Declaration
    public const NodeConstraints InheritResizable
    Field Value
    Type
    NodeConstraints

    InheritRestrictNegativeAxisDragDrop

    Enables or disables dragging operation at negative axis from SfDiagram.

    Declaration
    public const NodeConstraints InheritRestrictNegativeAxisDragDrop
    Field Value
    Type
    NodeConstraints

    InheritRotatable

    Enables or disables to inherit the value for rotatable from diagram.

    Declaration
    public const NodeConstraints InheritRotatable
    Field Value
    Type
    NodeConstraints

    InheritSnapping

    Enables or disables to inherit the value of snaptolines and snapangle from SfDiagram by using SnapConstraints property value.

    Declaration
    public const NodeConstraints InheritSnapping
    Field Value
    Type
    NodeConstraints

    InheritSnapToObject

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

    Declaration
    public const NodeConstraints InheritSnapToObject
    Field Value
    Type
    NodeConstraints

    Menu

    Enables or disables to context menu on the node.

    Declaration
    public const NodeConstraints Menu
    Field Value
    Type
    NodeConstraints

    None

    Disable all Node Constraints.

    Declaration
    public const NodeConstraints None
    Field Value
    Type
    NodeConstraints

    OutConnect

    Enables or disables connection for outgoing connector.

    Declaration
    public const NodeConstraints OutConnect
    Field Value
    Type
    NodeConstraints

    PivotDraggable

    Enables or disables a pivot thumb dragging for node.

    Declaration
    public const NodeConstraints PivotDraggable
    Field Value
    Type
    NodeConstraints

    Resizable

    Enables or disables a node to be resizable.

    Declaration
    public const NodeConstraints Resizable
    Field Value
    Type
    NodeConstraints

    ResizeEast

    Enables or disables node to be resizd in East east direction.

    Declaration
    public const NodeConstraints ResizeEast
    Field Value
    Type
    NodeConstraints

    ResizeNorth

    Enables or disables node to be resized in North direction.

    Declaration
    public const NodeConstraints ResizeNorth
    Field Value
    Type
    NodeConstraints

    ResizeNorthEast

    Enables or disables node to be resized in NorthEast direction.

    Declaration
    public const NodeConstraints ResizeNorthEast
    Field Value
    Type
    NodeConstraints

    ResizeNorthWest

    Enables or disables node to be resized in NorthWest direction.

    Declaration
    public const NodeConstraints ResizeNorthWest
    Field Value
    Type
    NodeConstraints

    ResizeSouth

    Enables or disables node to be resized in South direction.

    Declaration
    public const NodeConstraints ResizeSouth
    Field Value
    Type
    NodeConstraints

    ResizeSouthEast

    Enables or disables node to be resized in SouthEast direction.

    Declaration
    public const NodeConstraints ResizeSouthEast
    Field Value
    Type
    NodeConstraints

    ResizeSouthWest

    Enables or disables node to be resized in SouthWest direction.

    Declaration
    public const NodeConstraints ResizeSouthWest
    Field Value
    Type
    NodeConstraints

    ResizeWest

    Enables or disables node to be resized in West direction.

    Declaration
    public const NodeConstraints ResizeWest
    Field Value
    Type
    NodeConstraints

    RestrictNegativeAxisDragDrop

    Enables or disables dragging operation at negative axis.

    Declaration
    public const NodeConstraints RestrictNegativeAxisDragDrop
    Field Value
    Type
    NodeConstraints

    Rotatable

    Enables or disables a node to be rotated.

    Declaration
    public const NodeConstraints Rotatable
    Field Value
    Type
    NodeConstraints

    RoutingObstacle

    Enables or disables a node to be treated as obstacle while in routing.

    Declaration
    public const NodeConstraints RoutingObstacle
    Field Value
    Type
    NodeConstraints

    Selectable

    Enables or disables a node to be selected.

    Declaration
    public const NodeConstraints Selectable
    Field Value
    Type
    NodeConstraints

    SnapAngle

    Enables or disables to snap while rotating.

    Declaration
    public const NodeConstraints SnapAngle
    Field Value
    Type
    NodeConstraints

    SnapToHorizontalLines

    Enables or disables to snap to horizontal gridlines.

    Declaration
    public const NodeConstraints SnapToHorizontalLines
    Field Value
    Type
    NodeConstraints

    SnapToLines

    Enables or disables nodes to snap to gridlines.

    Declaration
    public const NodeConstraints SnapToLines
    Field Value
    Type
    NodeConstraints

    SnapToVerticalLines

    Enables or disables to snap to vertical gridlines.

    Declaration
    public const NodeConstraints SnapToVerticalLines
    Field Value
    Type
    NodeConstraints

    ThemeStyle

    Enables or disables themestyle for node.

    Declaration
    public const NodeConstraints ThemeStyle
    Field Value
    Type
    NodeConstraints

    Extension Methods

    DiagramExtensions.Add(NodeConstraints, NodeConstraints[])
    DiagramExtensions.Remove(NodeConstraints, NodeConstraints[])
    DiagramExtensions.Toggle(NodeConstraints, NodeConstraints[])
    DiagramExtensions.Contains(NodeConstraints, NodeConstraints)
    DiagramExtensions.ContainsAll(NodeConstraints, NodeConstraints)
    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved