WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConnectorViewModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConnectorViewModel

    Represents a objects used to create link between two points, nodes or ports to represent the relationships between them.

    Inheritance
    System.Object
    DiagramElementViewModel
    GroupableViewModel
    ConnectorViewModel
    BpmnFlowViewModel
    Implements
    IConnector
    IConnectorBase
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    GroupableViewModel.Name
    GroupableViewModel.IsSelected
    GroupableViewModel.ZIndex
    DiagramElementViewModel.OnPropertyChanged(String)
    DiagramElementViewModel.ID
    DiagramElementViewModel.Key
    DiagramElementViewModel.Info
    DiagramElementViewModel.PropertyChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.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 Description
    AnnotationConstraints

    Annotations

    Gets or sets a collection of objects where each object represents a IAnnotation.

    Declaration
    public object Annotations { get; set; }
    Property Value
    Type Description
    System.Object

    BezierSmoothness

    Gets or sets the beziersmoothness of the connector.

    Declaration
    public BezierSmoothness BezierSmoothness { get; set; }
    Property Value
    Type Description
    BezierSmoothness

    BridgeSpace

    Gets or sets the width of the line bridges.

    Declaration
    public double BridgeSpace { get; set; }
    Property Value
    Type Description
    System.Double

    ConnectorGeometryStyle

    Gets or sets the style of the Connector.

    Declaration
    public Style ConnectorGeometryStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    Constraints

    Gets or sets the default behaviors of the connector.

    Declaration
    public ConnectorConstraints Constraints { get; set; }
    Property Value
    Type Description
    ConnectorConstraints

    CornerRadius

    Gets or sets the radius of the rounded corner.

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type Description
    System.Double

    HitPadding

    Gets or sets the Range of the Connector Selection.

    Declaration
    public double HitPadding { get; set; }
    Property Value
    Type Description
    System.Double

    Menu

    Gets or sets some additional menu items.

    Declaration
    public DiagramMenu Menu { get; set; }
    Property Value
    Type Description
    DiagramMenu

    ParentGroup

    Gets or sets the parentgroup of the Connector.

    Declaration
    public object ParentGroup { get; set; }
    Property Value
    Type Description
    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 Description
    System.Object

    PortVisibility

    Gets or sets when the Port should be visible.

    Declaration
    public PortVisibility PortVisibility { get; set; }
    Property Value
    Type Description
    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 Description
    System.Object

    SegmentDecoratorStyle

    Gets or sets the style of the Segment decorator.

    Declaration
    public Style SegmentDecoratorStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    Segments

    Gets or sets a collection of objects where each object represents a segment.

    Declaration
    public object Segments { get; set; }
    Property Value
    Type Description
    System.Object

    SourceConnector

    Gets or sets the source connector of the connector.

    Declaration
    public object SourceConnector { get; set; }
    Property Value
    Type Description
    System.Object

    SourceConnectorID

    Gets or sets the id for source connector of the connector.

    Declaration
    public object SourceConnectorID { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Windows.Point

    SourceDecoratorStyle

    Gets or sets the style of the source decorator.

    Declaration
    public Style SourceDecoratorStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    SourceNode

    Gets or sets the source node of the connector.

    Declaration
    public object SourceNode { get; set; }
    Property Value
    Type Description
    System.Object

    SourceNodeID

    Gets or sets the id for source node of the connector.

    Declaration
    public object SourceNodeID { get; set; }
    Property Value
    Type Description
    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 Description
    System.Double

    SourcePoint

    Gets or sets the start point of the Connector.

    Declaration
    public Point SourcePoint { get; set; }
    Property Value
    Type Description
    System.Windows.Point

    SourcePort

    Gets or sets the source port of the connector.

    Declaration
    public IPort SourcePort { get; set; }
    Property Value
    Type Description
    IPort

    SourcePortID

    Gets or sets the id for source port of the connector.

    Declaration
    public object SourcePortID { get; set; }
    Property Value
    Type Description
    System.Object

    TargetConnector

    Gets or sets the target connector of the connector.

    Declaration
    public object TargetConnector { get; set; }
    Property Value
    Type Description
    System.Object

    TargetConnectorID

    Gets or sets the id for target connector of the connector.

    Declaration
    public object TargetConnectorID { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Windows.Point

    TargetDecoratorStyle

    Gets or sets the style of the target decorator.

    Declaration
    public Style TargetDecoratorStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    TargetNode

    Gets or sets the target node of the Connector.

    Declaration
    public object TargetNode { get; set; }
    Property Value
    Type Description
    System.Object

    TargetNodeID

    Gets or sets the id for target node of the connector.

    Declaration
    public object TargetNodeID { get; set; }
    Property Value
    Type Description
    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 Description
    System.Double

    TargetPoint

    Gets or sets the end point of the Connector.

    Declaration
    public Point TargetPoint { get; set; }
    Property Value
    Type Description
    System.Windows.Point

    TargetPort

    Gets or sets the target port of the connector.

    Declaration
    public IPort TargetPort { get; set; }
    Property Value
    Type Description
    IPort

    TargetPortID

    Gets or sets the id for target port of the connector.

    Declaration
    public object TargetPortID { get; set; }
    Property Value
    Type Description
    System.Object

    ThemeStyleId

    Gets or sets the themestyleid of the Connector

    Declaration
    public StyleId ThemeStyleId { get; set; }
    Property Value
    Type Description
    StyleId

    Implements

    IConnector
    IConnectorBase
    IGroupable
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved