menu

UWP

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

    Show / Hide Table of Contents

    Class DockPort

    Represents a series of points act as the connection points of node and allows to create connections

    Inheritance
    System.Object
    ConnectorBase
    DockPort
    Implements
    IDockPort
    IPort
    IConnectorBase
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ConnectorBase.ConnectorGeometryStyle
    ConnectorBase.ConnectorGeometryStyleProperty
    ConnectorBase.Geometry
    ConnectorBase.GeometryProperty
    ConnectorBase.HitPadding
    ConnectorBase.HitPaddingProperty
    ConnectorBase.Key
    ConnectorBase.KeyProperty
    ConnectorBase.OnPropertyChanged(String)
    ConnectorBase.Ports
    ConnectorBase.PortsProperty
    ConnectorBase.PropertyChanged
    ConnectorBase.Segments
    ConnectorBase.SegmentsProperty
    ConnectorBase.SourcePoint
    ConnectorBase.SourcePointProperty
    ConnectorBase.TargetPoint
    ConnectorBase.TargetPointProperty
    ConnectorBase.TransparentGeometryProperty
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class DockPort : ConnectorBase, IDockPort, IPort, IConnectorBase, IDockPortView, IView, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    DockPort()

    Initializes a new instance of the DockPort class.

    Declaration
    public DockPort()

    Fields

    ConnectionDirectionProperty

    Using a DependencyProperty as the backing store for ConnectionDirection. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ConnectionDirectionProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ConnectorPaddingProperty

    Using a DependencyProperty as the backing store for ConnectorPadding. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ConnectorPaddingProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ConstraintsProperty

    Using a DependencyProperty as the backing store for Constraints. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ConstraintsProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IDProperty

    Using a DependencyProperty as the backing store for ID. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty IDProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IsConnectingProperty

    Using a DependencyProperty as the backing store for IsDragConnectionOver. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty IsConnectingProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    NodeProperty

    Using a DependencyProperty as the backing store for Node. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty NodeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    PortVisibilityProperty

    Using a DependencyProperty as the backing store for PortVisibility. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty PortVisibilityProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ShapeProperty

    Using a DependencyProperty as the backing store for Shape. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ShapeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ShapeStyleProperty

    Using a DependencyProperty as the backing store for ShapeStyle. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty ShapeStyleProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnitHeightProperty

    Using a DependencyProperty as the backing store for UnitHeight. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty UnitHeightProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnitWidthProperty

    Using a DependencyProperty as the backing store for UnitWidth. This enables animation, styling, binding, etc...

    Declaration
    public static DependencyProperty UnitWidthProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    BoundingRectangle

    Gets or sets the bounding rectangle of the DockPort.

    Declaration
    public Rect BoundingRectangle { get; }
    Property Value
    Type
    Windows.Foundation.Rect

    ConnectionDirection

    Gets or sets the direction of connected connector.

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

    ConnectorPadding

    Gets or sets the space to be left between the port bounds and its incoming and outgoing connections.

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

    Constraints

    Gets or sets whether connections can be created with the port.

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

    ID

    Gets or sets the ID of the Connector

    Declaration
    public object ID { get; set; }
    Property Value
    Type
    System.Object

    Info

    Gets or sets the info of the DockPort.

    Declaration
    public object Info { get; set; }
    Property Value
    Type
    System.Object

    IsConnecting

    Using a DependencyProperty to check whether connection is establishing or not

    Declaration
    public bool IsConnecting { get; set; }
    Property Value
    Type
    System.Boolean

    Node

    Gets or sets the Node of the DockPort.

    Declaration
    public object Node { get; set; }
    Property Value
    Type
    System.Object

    PortVisibility

    Gets or sets when the Port should be visible.

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

    Shape

    Gets or sets the shape of the dockport.

    Declaration
    public object Shape { get; set; }
    Property Value
    Type
    System.Object

    ShapeStyle

    Gets or sets the style of the dockport.

    Declaration
    public Style ShapeStyle { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Style

    UnitHeight

    Gets or sets the height of the port.

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

    UnitWidth

    Gets or sets the width of the port.

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

    Methods

    ArrangeOverride(Size)

    Method to arrange DockPort class elements to given size.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size finalSize

    Size to arrange elements.

    Returns
    Type Description
    Windows.Foundation.Size

    Return size.

    Overrides
    ConnectorBase.ArrangeOverride(Size)

    CanConnect()

    Create Virtual method to Set condition for Visible the Port.

    Declaration
    public virtual bool CanConnect()
    Returns
    Type Description
    System.Boolean

    returns true means its displays ports visibility.

    MeasureOverride(Size)

    Method to measure size of DockPort class elements.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize

    Size to be measure.

    Returns
    Type Description
    Windows.Foundation.Size

    Return measured size.

    Overrides
    ConnectorBase.MeasureOverride(Size)

    Implements

    IDockPort
    IPort
    IConnectorBase
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved