WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectorPort - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConnectorPort

    Ports act as the connection points of connector and allows to create connections with only those specific points.

    Inheritance
    System.Object
    PortBase
    ConnectorPort
    Implements
    IConnectorPort
    IPort
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    PortBase.ConstraintsProperty
    PortBase.OffsetXProperty
    PortBase.OffsetYProperty
    PortBase.IsConnectingProperty
    PortBase.IDProperty
    PortBase.ConnectionDirectionProperty
    PortBase.KeyProperty
    PortBase.ShapeProperty
    PortBase.ShapeStyleProperty
    PortBase.UnitWidthProperty
    PortBase.UnitHeightProperty
    PortBase.PortVisibilityProperty
    PortBase.ConnectorPaddingProperty
    PortBase.DisplacementProperty
    PortBase.HitPaddingProperty
    PortBase.OnPropertyChanged(String)
    PortBase.CanConnect()
    PortBase.BoundingRectangle
    PortBase.Constraints
    PortBase.OffsetX
    PortBase.OffsetY
    PortBase.IsConnecting
    PortBase.ID
    PortBase.ConnectionDirection
    PortBase.Key
    PortBase.Shape
    PortBase.ShapeStyle
    PortBase.UnitWidth
    PortBase.UnitHeight
    PortBase.Info
    PortBase.PortVisibility
    PortBase.ConnectorPadding
    PortBase.Displacement
    PortBase.HitPadding
    PortBase.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class ConnectorPort : PortBase, IView, IConnectorPort, IPort, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    ConnectorPort()

    Initializes a new instance of the ConnectorPort class.

    Declaration
    public ConnectorPort()

    Fields

    ConnectorProperty

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

    Declaration
    public static DependencyProperty ConnectorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LengthProperty

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

    Declaration
    public static DependencyProperty LengthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    UnitModeProperty

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

    Declaration
    public static DependencyProperty UnitModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Connector

    Gets or sets the connector of the connectorport.

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

    Length

    Gets or sets the location of the connectorport on connector.

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

    Methods

    ArrangeOverride(Size)

    Method to arrange ConnectorPort class elements to given size.

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

    Size to arrange elements.

    Returns
    Type Description
    System.Windows.Size

    Return size.

    GetDirection()

    Method to decide direction of a orthogonal connector path.

    Declaration
    public OrthogonalDirection GetDirection()
    Returns
    Type Description
    OrthogonalDirection

    OnApplyTemplate()

    Override Template from its base class

    Declaration
    public override void OnApplyTemplate()

    OnCreateAutomationPeer()

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Implements

    IConnectorPort
    IPort
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved