Class
OrgTreeRouter

Router used for the TreeDown, TreeLeft, TreeRight, TreeUp and TipOverTree LayoutTypes.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public class OrgTreeRouter : IRouter

Inheritance: objectOrgTreeRouter

Implements: IRouter

Constructors

OrgTreeRouter()

Initializes a new instance of the OrgTreeRouter class for routing connections in tree-layout diagrams.

Declaration

cs-api-definition
public OrgTreeRouter()

Properties

ConnectionOuterSpacing

Gets or sets the connection outer spacing.

Declaration

cs-api-definition
public double ConnectionOuterSpacing { get; set; }

Property Value

double

The connection outer spacing.

TreeLayoutType

Gets or sets the type of the tree layout.

Declaration

cs-api-definition
public TreeLayoutType TreeLayoutType { get; set; }

Property Value

TreeLayoutType

The type of the tree layout.

Methods

GetRoutePoints(IConnection, bool)

Creates a TreeLayoutType -specific router and gets the route points.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Performance", "CA1801:ReviewUnusedParameters", MessageId = "showLastLine", Justification = "Part of the IRouter interface.")]
public IList<Point> GetRoutePoints(IConnection connection, bool showLastLine)

Parameters

connection

IConnection

The connection.

showLastLine

bool

Whether the last line segment should be shown.

Returns

IList<Point>

Implements IRouter.GetRoutePoints(IConnection, bool)