menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Connector - API Reference

    Show / Hide Table of Contents

    Class Connector

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

    Inheritance
    System.Object
    DiagramBaseItem
    Connector
    Inherited Members
    DiagramBaseItem.DisposeDiagramBase()
    DiagramBaseItem.Opacity
    DiagramBaseItem.Name
    DiagramBaseItem.Style
    DiagramBaseItem.IsVisible
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public class Connector : DiagramBaseItem

    Constructors

    Connector(Context)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(Context context)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    Connector(Context, Node, Node)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(Context context, Node sourceNode, Node targetNode)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    Node sourceNode

    Source Node of the connector.

    Node targetNode

    Target Node of the connector.

    Connector(Context, ObservableCollection<PointF>)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(Context context, ObservableCollection<PointF> segmentCollection)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    System.Collections.ObjectModel.ObservableCollection<System.Drawing.PointF> segmentCollection

    Segment collection of the orthogonal connector.

    Connector(Context, PointF, PointF)

    Initializes a new instance of the Connector class.

    Declaration
    public Connector(Context context, PointF sourcePoint, PointF targetPoint)
    Parameters
    Type Name Description
    Android.Content.Context context

    Represents the current context.

    System.Drawing.PointF sourcePoint

    Source Point of the connector.

    System.Drawing.PointF targetPoint

    Target Point of the connector.

    Properties

    Annotations

    Gets or sets the annotation collection.

    Declaration
    public AnnotationCollection Annotations { get; set; }
    Property Value
    Type Description
    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 segments collection.

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

    It defines the segments collection of the connector.

    Segments

    Gets or sets the segments collection.

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

    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 ControlPoint1.

    Declaration
    public PointF SourceControlPoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    SourceDecoratorStyle

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

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

    SourceDecoratorType

    Gets or sets the head (source) decorator type.

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

    SourceNode

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

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

    SourcePoint

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

    Declaration
    public PointF SourcePoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    SourcePort

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

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

    TargetControlPoint

    Gets or sets the ControlPoint2.

    Declaration
    public PointF TargetControlPoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    TargetDecoratorStyle

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

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

    TargetDecoratorType

    Gets or sets the tail (target) decorator type.

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

    TargetNode

    Gets or sets the target node where the connector ends.

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

    TargetPoint

    Gets or sets the target point where the connector ends.

    Declaration
    public PointF TargetPoint { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    TargetPort

    Gets or sets the target port where the connector ends.

    Declaration
    public Port TargetPort { get; set; }
    Property Value
    Type Description
    Port
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved