alexa
menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class Connector

    Represents a Connector which is used to represent a relation between nodes.

    Inheritance
    System.Object
    DiagramBaseItem
    Connector
    Implements
    System.ICloneable
    Inherited Members
    DiagramBaseItem.Clone()
    DiagramBaseItem.IsVisible
    DiagramBaseItem.Opacity
    DiagramBaseItem.Style
    Namespace: Syncfusion.SfDiagram.iOS
    Assembly: Syncfusion.SfDiagram.iOS.dll
    Syntax
    public class Connector : DiagramBaseItem, ICloneable

    Constructors

    Connector()

    Initializes a new instance of the Connector class.

    Declaration
    public Connector()

    Connector(CGPoint, CGPoint)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(CGPoint sourcePoint, CGPoint targetPoint)
    Parameters
    Type Name Description
    CoreGraphics.CGPoint sourcePoint

    Source Point of the connector.

    CoreGraphics.CGPoint targetPoint

    Target Point of the connector.

    Connector(Node, Node)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(Node sourceNode, Node targetNode)
    Parameters
    Type Name Description
    Node sourceNode

    Source Node of the connector.

    Node targetNode

    Target Node of the connector.

    Connector(ObservableCollection<CGPoint>)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(ObservableCollection<CGPoint> segmentCollection)
    Parameters
    Type Name Description
    System.Collections.ObjectModel.ObservableCollection<CoreGraphics.CGPoint> segmentCollection

    Segment collection of the orthogonal connector.

    Properties

    Annotations

    Gets or sets the annotation collection.

    Declaration
    public AnnotationCollection Annotations { get; set; }
    Property Value
    Type
    AnnotationCollection

    ExcludeFromLayout

    Gets or sets a value indicating whether exclude connector from layout.

    Declaration
    public bool ExcludeFromLayout { get; set; }
    Property Value
    Type Description
    System.Boolean

    It excludes connector from layout.

    IsLocked

    Gets or sets a value indicating whether this Connector is locked.

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if is locked; otherwise, false.

    SegmentPoints

    Gets or sets the type of the segment.

    Declaration
    public ObservableCollection<CGPoint> SegmentPoints { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<CoreGraphics.CGPoint>

    It defines the segment type of the connector.

    Segments

    Gets or sets the segments collection.

    Declaration
    public List<CGPoint> Segments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<CoreGraphics.CGPoint>

    It defines the segments collection of the connector.

    SegmentType

    Gets or sets the type of the segment.

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

    It defines the segment type of the connector.

    SourceControlPoint

    Gets or sets the control point1.

    Declaration
    public CGPoint SourceControlPoint { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGPoint

    The control point1.

    SourceDecoratorStyle

    Gets or sets the style of the source (head) decorator.

    Declaration
    public DecoratorStyle SourceDecoratorStyle { get; set; }
    Property Value
    Type
    DecoratorStyle

    SourceDecoratorType

    Gets or sets the head (source) decorator type.

    Declaration
    public DecoratorType SourceDecoratorType { get; set; }
    Property Value
    Type
    DecoratorType

    SourceNode

    Gets or sets the source node from which the connector starts.

    Declaration
    public Node SourceNode { get; set; }
    Property Value
    Type
    Node

    SourcePoint

    Gets or sets the source point from which the connector starts.

    Declaration
    public CGPoint SourcePoint { get; set; }
    Property Value
    Type
    CoreGraphics.CGPoint

    SourcePort

    Gets or sets the source port from which the connector starts.

    Declaration
    public Port SourcePort { get; set; }
    Property Value
    Type
    Port

    TargetControlPoint

    Gets or sets the control point2.

    Declaration
    public CGPoint TargetControlPoint { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGPoint

    The control point2.

    TargetDecoratorStyle

    Gets or sets the style of target (tail) decorator.

    Declaration
    public DecoratorStyle TargetDecoratorStyle { get; set; }
    Property Value
    Type
    DecoratorStyle

    TargetDecoratorType

    Gets or sets the tail (target) decorator type.

    Declaration
    public DecoratorType TargetDecoratorType { get; set; }
    Property Value
    Type
    DecoratorType

    TargetNode

    Gets or sets the target node where the connector ends.

    Declaration
    public Node TargetNode { get; set; }
    Property Value
    Type
    Node

    TargetPoint

    Gets or sets the target point where the connector ends.

    Declaration
    public CGPoint TargetPoint { get; set; }
    Property Value
    Type
    CoreGraphics.CGPoint

    TargetPort

    Gets or sets the target port where the connector ends.

    Declaration
    public Port TargetPort { get; set; }
    Property Value
    Type
    Port

    Methods

    Dispose(Boolean)

    Releases all resource used by the Connector object.

    Declaration
    protected void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    disposing of the connector.

    Implements

    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved