Class ConnectorPort
Ports act as 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.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 |
---|
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 |
---|
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 |
---|
System.Windows.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 |
---|---|---|
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 |
---|
OrthogonalDirection |
OnApplyTemplate()
Override Template from its base class
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |