Interface IConnectorInfo
Represents the information about the connector.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public interface IConnectorInfo : IGroupableInfo
Methods
EditSegment(EditSegmentArgs)
To split straight segment into new straight segments.
Declaration
void EditSegment(EditSegmentArgs args)
Parameters
Type | Name | Description |
---|---|---|
EditSegmentArgs | args | Intersectionpoint is the point where we click on the straight segment to create a new straight segment. |
GetAllSegments()
Get all segments in connector.
Declaration
IEnumerable<PathSegment> GetAllSegments()
Returns
Type |
---|
System.Collections.Generic.IEnumerable<System.Windows.Media.PathSegment> |
LoadSegments(IEnumerable<Point>)
Load collection of points as segment in connector
Declaration
void LoadSegments(IEnumerable<Point> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Windows.Point> | points |
PointsToSegments(IEnumerable<Point>)
Convert collection of points to segments
Declaration
IEnumerable<OrthogonalSegment> PointsToSegments(IEnumerable<Point> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Windows.Point> | points |
Returns
Type |
---|
System.Collections.Generic.IEnumerable<OrthogonalSegment> |
ToPoints(Boolean)
Gets the segment points of the connector.
Declaration
IEnumerable<Point> ToPoints(bool all = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | all |
Returns
Type |
---|
System.Collections.Generic.IEnumerable<System.Windows.Point> |