Class ConnectorViewModel
Represents a objects used to create link between two points, nodes or ports to represent the relationships between them.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class ConnectorViewModel : GroupableViewModel, IConnector, IConnectorBase, IGroupable, IDiagramElement, IID, INotifyPropertyChanged
Constructors
ConnectorViewModel()
Initializes a new instance of the ConnectorViewModel class.
Declaration
public ConnectorViewModel()
Properties
AnnotationConstraints
Gets or sets the default behaviors of the annotation.
Declaration
public AnnotationConstraints AnnotationConstraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
Annotations
Gets or sets a collection of objects where each object represents a IAnnotation.
Declaration
public object Annotations { get; set; }
Property Value
Type |
---|
System.Object |
BezierSmoothness
Gets or sets the beziersmoothness of the connector.
Declaration
public BezierSmoothness BezierSmoothness { get; set; }
Property Value
Type |
---|
BezierSmoothness |
BridgeSpace
Gets or sets the width of the line bridges.
Declaration
public double BridgeSpace { get; set; }
Property Value
Type |
---|
System.Double |
ConnectorGeometryStyle
Gets or sets the style of the Connector.
Declaration
public Style ConnectorGeometryStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
Constraints
Gets or sets the default behaviors of the connector.
Declaration
public ConnectorConstraints Constraints { get; set; }
Property Value
Type |
---|
ConnectorConstraints |
CornerRadius
Gets or sets the radius of the rounded corner.
Declaration
public double CornerRadius { get; set; }
Property Value
Type |
---|
System.Double |
HitPadding
Gets or sets the Range of the Connector Selection.
Declaration
public double HitPadding { get; set; }
Property Value
Type |
---|
System.Double |
Menu
Gets or sets some additional menu items.
Declaration
public DiagramMenu Menu { get; set; }
Property Value
Type |
---|
DiagramMenu |
ParentGroup
Gets or sets the parentgroup of the Connector.
Declaration
public object ParentGroup { 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 |
SegmentDecorators
Gets or sets a collection of Segment decorators where each object represent a ISegmentDecorator.
Declaration
public object SegmentDecorators { get; set; }
Property Value
Type |
---|
System.Object |
SegmentDecoratorStyle
Gets or sets the style of the Segment decorator.
Declaration
public Style SegmentDecoratorStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
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 |
SourceConnector
Gets or sets the source connector of the connector.
Declaration
public object SourceConnector { get; set; }
Property Value
Type |
---|
System.Object |
SourceConnectorID
Gets or sets the id for source connector of the connector.
Declaration
public object SourceConnectorID { get; set; }
Property Value
Type |
---|
System.Object |
SourceDecorator
Gets or sets the source decorator value to decorate some customizable shapes like arrows, circles, diamond or path of the connector.
Declaration
public object SourceDecorator { get; set; }
Property Value
Type |
---|
System.Object |
SourceDecoratorPivot
Gets or sets the ratio/fractional value relative to SourcePoint, based on which the Decorator will be transformed.
Declaration
public Point SourceDecoratorPivot { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
SourceDecoratorStyle
Gets or sets the style of the source decorator.
Declaration
public Style SourceDecoratorStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
SourceNode
Gets or sets the source node of the connector.
Declaration
public object SourceNode { get; set; }
Property Value
Type |
---|
System.Object |
SourceNodeID
Gets or sets the id for source node of the connector.
Declaration
public object SourceNodeID { get; set; }
Property Value
Type |
---|
System.Object |
SourcePadding
Gets or sets the space to be left between the source node and the source point of a connector.
Declaration
public double SourcePadding { get; set; }
Property Value
Type |
---|
System.Double |
SourcePoint
Gets or sets the start point of the Connector.
Declaration
public Point SourcePoint { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
SourcePort
Gets or sets the source port of the connector.
Declaration
public IPort SourcePort { get; set; }
Property Value
Type |
---|
IPort |
SourcePortID
Gets or sets the id for source port of the connector.
Declaration
public object SourcePortID { get; set; }
Property Value
Type |
---|
System.Object |
TargetConnector
Gets or sets the target connector of the connector.
Declaration
public object TargetConnector { get; set; }
Property Value
Type |
---|
System.Object |
TargetConnectorID
Gets or sets the id for target connector of the connector.
Declaration
public object TargetConnectorID { get; set; }
Property Value
Type |
---|
System.Object |
TargetDecorator
Gets or sets the taregt decorator value to decorate some customizable shapes like arrows, circles, diamond or path of the connector.
Declaration
public object TargetDecorator { get; set; }
Property Value
Type |
---|
System.Object |
TargetDecoratorPivot
Gets or sets the ratio/fractional value relative to TargetPoint, based on which the Decorator will be transformed.
Declaration
public Point TargetDecoratorPivot { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
TargetDecoratorStyle
Gets or sets the style of the target decorator.
Declaration
public Style TargetDecoratorStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
TargetNode
Gets or sets the target node of the Connector.
Declaration
public object TargetNode { get; set; }
Property Value
Type |
---|
System.Object |
TargetNodeID
Gets or sets the id for target node of the connector.
Declaration
public object TargetNodeID { get; set; }
Property Value
Type |
---|
System.Object |
TargetPadding
Gets or sets the space to be left between the target node and the target point of the connector.
Declaration
public double TargetPadding { get; set; }
Property Value
Type |
---|
System.Double |
TargetPoint
Gets or sets the end point of the Connector.
Declaration
public Point TargetPoint { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
TargetPort
Gets or sets the target port of the connector.
Declaration
public IPort TargetPort { get; set; }
Property Value
Type |
---|
IPort |
TargetPortID
Gets or sets the id for target port of the connector.
Declaration
public object TargetPortID { get; set; }
Property Value
Type |
---|
System.Object |
ThemeStyleId
Gets or sets the themestyleid of the Connector
Declaration
public StyleId ThemeStyleId { get; set; }
Property Value
Type |
---|
StyleId |