menu

WPF

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

    Show / Hide Table of Contents

    Class DockPort

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

    Inheritance
    System.Object
    DiagramElement
    PortBase
    DockPort
    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 DockPort : PortBase

    Constructors

    DockPort()

    Declaration
    public DockPort()

    Properties

    Attributes

    Gets or sets the attributes value of a dock port.

    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 port constraints.

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

    Geometry

    Gets or sets the geometry value of dock 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

    PortColT

    Gets or sets the ports type.

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

    Ports

    Gets or sets the list of connector port of a dock ports.

    Declaration
    public List<ConnectorPort> Ports { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<ConnectorPort>

    PortVisibility

    Gets or sets the ports visibility value.

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

    Segments

    Gets or sets the list of segments connected to a dock port.

    Declaration
    public List<IConnectorSegment> Segments { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<IConnectorSegment>

    SourcePoint

    Gets or sets the source point value of the dock port where the dock port is going to be start.

    Declaration
    public Point SourcePoint { get; set; }
    Property Value
    Type
    System.Windows.Point

    Stretch

    Gets or sets stretch value of the dock port.

    Declaration
    public Stretch Stretch { get; set; }
    Property Value
    Type
    System.Windows.Media.Stretch

    TargetPoint

    Gets or sets the target point value of the dock port where the dock port is going to be end.

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