Class ConnectorPort
Represents the connection points of connector and allows to create connections with only those specific points.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class ConnectorPort : PortBase, IConnectorPort, IPort, IView, 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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
Connector
Gets or sets the connector of the connectorport.
Declaration
public object Connector { get; set; }
Property Value
Type |
---|
System.Object |
Length
Gets or sets the location of the connectorport on connector.
Declaration
public double Length { get; set; }
Property Value
Type |
---|
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 |
---|---|---|
Windows.Foundation.Size | finalSize | Size to arrange elements. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return size. |
GetDirection()
Method to decide direction of a orthogonal connector path.
Declaration
public OrthogonalDirection GetDirection()
Returns
Type |
---|
OrthogonalDirection |
OnApplyTemplate()
Override Template from its base class
Declaration
protected override void OnApplyTemplate()