Class NodePort
Represents the connection points of node 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 NodePort : PortBase, INodePortView, IView, INodePort, IPort, IDiagramElement, IID, INotifyPropertyChanged
Constructors
NodePort()
Initializes a new instance of the NodePort class.
Declaration
public NodePort()
Fields
NodeOffsetXProperty
Using a DependencyProperty as the backing store for NodeOffsetX. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty NodeOffsetXProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NodeOffsetYProperty
Using a DependencyProperty as the backing store for NodeOffsetY. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty NodeOffsetYProperty
Field Value
Type |
---|
System.Windows.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 |
---|
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
Node
Gets or sets the Node of the NodePort.
Declaration
public object Node { get; set; }
Property Value
Type |
---|
System.Object |
NodeOffsetX
Gets or sets the position of the NodePort on X-Axis.
Declaration
public double NodeOffsetX { get; set; }
Property Value
Type |
---|
System.Double |
NodeOffsetY
Gets or sets the position of the NodePort on Y-Axis.
Declaration
public double NodeOffsetY { get; set; }
Property Value
Type |
---|
System.Double |
Methods
ArrangeOverride(Size)
Method to arrange NodePort 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 get direction of orthogonal connector segments.
Declaration
public OrthogonalDirection GetDirection()
Returns
Type | Description |
---|---|
OrthogonalDirection | Throws exception. |
MeasureOverride(Size)
Method to measure size of NodePort class elements.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint | Size to be measure. |
Returns
Type | Description |
---|---|
System.Windows.Size | Return measured size. |
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 |