Class Connector
Represents a Connector which is used to represent a relation between nodes.
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public class Connector : DiagramBaseItem
Constructors
Connector()
Initializes a new instance of the Connector class.
Declaration
public Connector()
Fields
AnnotationsProperty
Represents the bindable property of Annotations.
Declaration
public static readonly BindableProperty AnnotationsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ControlPoint1Property
The control point1 property.
Declaration
public static readonly BindableProperty ControlPoint1Property
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ControlPoint2Property
The control point1 property.
Declaration
public static readonly BindableProperty ControlPoint2Property
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ExcludeFromLayoutProperty
Represents the bindable property of ExcludeFromLayout.
Declaration
public static readonly BindableProperty ExcludeFromLayoutProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsLockedProperty
IsLockedProperty.
Declaration
public static readonly BindableProperty IsLockedProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsVisibleProperty
Represents the bindable property of IsVisible.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
OpacityProperty
Represents the bindable property of Opacity.
Declaration
public static readonly BindableProperty OpacityProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentPointsProperty
SegmentPointsProperty.
Declaration
public static readonly BindableProperty SegmentPointsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentsProperty
SegmentsProperty.
Declaration
public static readonly BindableProperty SegmentsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SegmentTypeProperty
Represents the bindable property of SegmentType.
Declaration
public static readonly BindableProperty SegmentTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourceDecoratorStyleProperty
Represents the bindable property of SourceDecoratorStyle.
Declaration
public static readonly BindableProperty SourceDecoratorStyleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourceDecoratorTypeProperty
Represents the bindable property of SourceDecoratorType.
Declaration
public static readonly BindableProperty SourceDecoratorTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourceNodeNameProperty
Represents the bindable property of SourceNodeName.
Declaration
public static readonly BindableProperty SourceNodeNameProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourceNodeProperty
Represents the bindable property of SourceNode.
Declaration
public static readonly BindableProperty SourceNodeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourcePointProperty
Initializes a new instance of the Connector class.
Declaration
public static readonly BindableProperty SourcePointProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SourcePortProperty
Represents the bindable property of SourcePort.
Declaration
public static readonly BindableProperty SourcePortProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StyleProperty
Represents the bindable property of Style.
Declaration
public static readonly BindableProperty StyleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetDecoratorStyleProperty
Represents the bindable property of TargetDecoratorStyle.
Declaration
public static readonly BindableProperty TargetDecoratorStyleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetDecoratorTypeProperty
Represents the bindable property of TargetDecoratorType.
Declaration
public static readonly BindableProperty TargetDecoratorTypeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetNodeNameProperty
Represents the bindable property of TargetNodeName.
Declaration
public static readonly BindableProperty TargetNodeNameProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetNodeProperty
Represents the bindable property of TargetNode.
Declaration
public static readonly BindableProperty TargetNodeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetPointProperty
Represents the bindable property of TargetPoint.
Declaration
public static readonly BindableProperty TargetPointProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TargetPortProperty
Represents the bindable property of TargetPort.
Declaration
public static readonly BindableProperty TargetPortProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
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 gets or sets the Exclude connector from layout.
Declaration
public bool ExcludeFromLayout { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Defines connector ExcludeFromLayout. |
IsLocked
Gets or sets a value indicating whether this Syncfusion.SfDiagram.XForms(Portable).Connector is locked.
Declaration
public bool IsLocked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsVisible
Gets or sets a value indicating whether gets or sets the IsVisible of the node .
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Defines connector IsVisible. |
Opacity
Gets or sets the opacity. This is a bindable property.
Declaration
public float Opacity { get; set; }
Property Value
Type |
---|
System.Single |
SegmentPoints
Gets or sets the SegmentPoints of connector.
Declaration
public ObservableCollection<Point> SegmentPoints { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<Xamarin.Forms.Point> |
Segments
Gets or sets the segments of connector.
Declaration
public List<Point> Segments { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<Xamarin.Forms.Point> |
SegmentType
Gets or sets the type of the segment.
Declaration
public SegmentType SegmentType { get; set; }
Property Value
Type | Description |
---|---|
SegmentType | It defines the segmenttype of the connector. |
SourceControlPoint
Gets or sets the control point1.
Declaration
public Point SourceControlPoint { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Point | 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 Point SourcePoint { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Point |
SourcePort
Gets or sets the source port from which the connector starts.
Declaration
public Port SourcePort { get; set; }
Property Value
Type |
---|
Port |
Style
Gets or sets the Style property for the connector. This is a bindable property.
Declaration
public Style Style { get; set; }
Property Value
Type | Description |
---|---|
Style | The style value. |
TargetControlPoint
Gets or sets the control point1.
Declaration
public Point TargetControlPoint { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Point | The control point1. |
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 Point TargetPoint { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Point |
TargetPort
Gets or sets the target port where the connector ends.
Declaration
public Port TargetPort { get; set; }
Property Value
Type |
---|
Port |
Methods
OnBindingContextChanged()
Override the method from base class to execute an action when the BindingContext changes.
Declaration
protected override void OnBindingContextChanged()