Class DockPortViewModel
Represents a series of points act as the connection points of node and allows to create connections
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DockPortViewModel : DiagramElementViewModel, IDockPort, IPort, IDiagramElement, IID, INotifyPropertyChanged, IConnectorBase
Constructors
DockPortViewModel()
Declaration
public DockPortViewModel()
Properties
ConnectionDirection
Gets or sets the direction of connected connector.
Declaration
public ConnectionDirection ConnectionDirection { get; set; }
Property Value
Type |
---|
ConnectionDirection |
ConnectorGeometryStyle
Gets or sets the style of the Connector.
Declaration
public Style ConnectorGeometryStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
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 sets the Range of the Connector Selection.
Declaration
public double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
Node
Gets or sets the Node of the DockPort.
Declaration
public object Node { get; set; }
Property Value
Type |
---|
System.Object |
Ports
Gets or sets a collection of Ports to be added to the specified Connector.
Declaration
public object Ports { get; set; }
Property Value
Type |
---|
System.Object |
PortVisibility
Gets or sets when the Port should be visible.
Declaration
public PortVisibility PortVisibility { get; set; }
Property Value
Type |
---|
PortVisibility |
Segments
Gets or sets a collection of objects where each object represents a segment.
Declaration
public object Segments { get; set; }
Property Value
Type |
---|
System.Object |
Shape
Gets or sets the shape of the dockport.
Declaration
public object Shape { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the style of the dockport.
Declaration
public Style ShapeStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
SourcePoint
Gets or sets the start point of the Connector.
Declaration
public Point SourcePoint { get; set; }
Property Value
Type |
---|
System.Windows.Point |
TargetPoint
Gets or sets the end point of the Connector.
Declaration
public Point TargetPoint { get; set; }
Property Value
Type |
---|
System.Windows.Point |
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 |