Interface IPort
Represents the connection points of diagram elements like Nodes and Connectors that allows to create connections with only those specific points.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public interface IPort : IDiagramElement, IID, INotifyPropertyChanged
Properties
ConnectionDirection
Gets or sets the direction of connected connector.
Declaration
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
double ConnectorPadding { get; set; }
Property Value
Type |
---|
System.Double |
Constraints
Gets or sets whether connections can be created with the port.
Declaration
PortConstraints Constraints { get; set; }
Property Value
Type |
---|
PortConstraints |
HitPadding
Gets or sets the range of the port connection.
Declaration
double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
Info
Gets or sets the information for port.
Declaration
object Info { get; set; }
Property Value
Type |
---|
System.Object |
PortVisibility
Gets or sets when the ports should be visible.
Declaration
PortVisibility PortVisibility { get; set; }
Property Value
Type |
---|
PortVisibility |
Shape
Gets or sets the Shape of the port.
Declaration
object Shape { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the Style of the port.
Declaration
Style ShapeStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
UnitHeight
Gets or sets the height of the port.
Declaration
double UnitHeight { get; set; }
Property Value
Type |
---|
System.Double |
UnitWidth
Gets or sets the width of the port.
Declaration
double UnitWidth { get; set; }
Property Value
Type |
---|
System.Double |