Class NodePortViewModel
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 NodePortViewModel : DiagramElementViewModel, INodePort, IPort, IDiagramElement, IID, INotifyPropertyChanged
Constructors
NodePortViewModel()
Initializes a new instance of the NodePortViewModel class.
Declaration
public NodePortViewModel()
Properties
ConnectionDirection
Gets or sets the direction of connected connector
Declaration
public ConnectionDirection ConnectionDirection { get; set; }
Property Value
Type |
---|
ConnectionDirection |
ConnectorPadding
Gets or sets the space to be left between the Port bounds and its incoming and outgoing connections.
Declaration
public double ConnectorPadding { get; set; }
Property Value
Type |
---|
System.Double |
Constraints
Gets or sets whether connections can be created with the port.
Declaration
public PortConstraints Constraints { get; set; }
Property Value
Type |
---|
PortConstraints |
Displacement
Gets or sets the space to displace the NodePort.
Declaration
public Thickness Displacement { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Thickness |
HitPadding
Gets or sets the range of the nodeport connection
Declaration
public double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
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 |
PortVisibility
Gets or sets when the port should be visible.
Declaration
public PortVisibility PortVisibility { get; set; }
Property Value
Type |
---|
PortVisibility |
Shape
Gets or sets the Shape of the NodePort.
Declaration
public object Shape { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the Style of the NodePort.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
UnitHeight
Gets or sets the height of the Port.
Declaration
public double UnitHeight { get; set; }
Property Value
Type |
---|
System.Double |
UnitWidth
Gets or sets the width of the Port.
Declaration
public double UnitWidth { get; set; }
Property Value
Type |
---|
System.Double |