Class ConnectorPortViewModel
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.WPF.dll
Syntax
public class ConnectorPortViewModel : DiagramElementViewModel, IConnectorPort, IPort, IDiagramElement, IID, INotifyPropertyChanged
Constructors
ConnectorPortViewModel()
Initializes a new instance of the ConnectorPortViewModel class.
Declaration
public ConnectorPortViewModel()
Properties
ConnectionDirection
Gets or sets the direction of connected connector.
Declaration
public ConnectionDirection ConnectionDirection { get; set; }
Property Value
Type |
---|
ConnectionDirection |
Connector
Gets or sets the connector of the connectorport.
Declaration
public object Connector { get; set; }
Property Value
Type |
---|
System.Object |
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 |
HitPadding
Gets or set the range of the connectorport connection
Declaration
public double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
Length
Gets or sets the location of the connectorport on connector.
Declaration
public double Length { 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 connectorport.
Declaration
public object Shape { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the style of the ConnectorPort.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
System.Windows.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 |