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.UWP.dll
Syntax
public class NodePort : PortBase, INodePort, IPort, INodePortView, IView, 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 |
---|
Windows.UI.Xaml.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 |
---|
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 |
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
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 |
---|---|---|
Windows.Foundation.Size | finalSize | Size to arrange elements. |
Returns
Type | Description |
---|---|
Windows.Foundation.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 |
---|---|---|
Windows.Foundation.Size | constraint | Size to be measure. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return measured size. |
OnApplyTemplate()
Override Template from its base class
Declaration
protected override void OnApplyTemplate()