menu

WPF

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

    Show / Hide Table of Contents

    Class NodePort

    Represents a class of port that is a special connection point on a node that can glue the connectors, When glue a connector to a port, they stay connected, even if one of the node or port is moved.

    Inheritance
    System.Object
    DiagramElement
    PortBase
    NodePort
    Inherited Members
    DiagramElement.ID
    DiagramElement.Key
    DiagramElement.Raw
    DiagramElement.Type
    PortBase.Shape
    PortBase.ShapeStyle
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class NodePort : PortBase

    Constructors

    NodePort()

    Declaration
    public NodePort()

    Properties

    Attributes

    Gets or sets the attributes values of ports.

    Declaration
    public Dictionary<string, object> Attributes { get; set; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.Object>

    ConnectionDirection

    Gets or sets the connection direction of a port to specify the direction in which the connector’s connection to be established to a port.

    Declaration
    public ConnectionDirection ConnectionDirection { get; set; }
    Property Value
    Type
    ConnectionDirection

    ConnectorPadding

    Gets or sets the padding value of port which the space between the connector’s end point and port.

    Declaration
    public double ConnectorPadding { get; set; }
    Property Value
    Type
    System.Double

    Constraints

    Gets or sets the constraints value of port.

    Declaration
    public PortConstraints Constraints { get; set; }
    Property Value
    Type
    PortConstraints

    Displacement

    Gets or sets the displacement value of port to dislocate the port from it's actual position.

    Declaration
    public Thickness Displacement { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    Geometry

    Gets or sets the geometry value of a port.

    Declaration
    public string Geometry { get; set; }
    Property Value
    Type
    System.String

    HitPadding

    Gets or sets the hitpadding values of the ports.

    Declaration
    public double HitPadding { get; set; }
    Property Value
    Type
    System.Double

    NodeOffsetX

    Gets or sets the offset x value of a port over node's surface.

    Declaration
    public double NodeOffsetX { get; set; }
    Property Value
    Type
    System.Double

    NodeOffsetY

    Gets or sets the offset y value of a port over node's surface.

    Declaration
    public double NodeOffsetY { get; set; }
    Property Value
    Type
    System.Double

    PortVisibility

    Gets or sets the visibility value of a port.

    Declaration
    public PortVisibility PortVisibility { get; set; }
    Property Value
    Type
    PortVisibility

    UnitHeight

    Gets or sets the height of a port.

    Declaration
    public double UnitHeight { get; set; }
    Property Value
    Type
    System.Double

    UnitMode

    Gets or sets the value to dislocate the port by the value given from its original position.

    Declaration
    public UnitMode UnitMode { get; set; }
    Property Value
    Type
    UnitMode

    UnitWidth

    Gets or sets the width of a port.

    Declaration
    public double UnitWidth { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved