New to Telerik UI for WinFormsStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public class OrgTreeRouter : IRouter

Inheritance: objectOrgTreeRouter

Implements: IRouter

Constructors

C#
public OrgTreeRouter()

Properties

Gets or sets the connection outer spacing.

C#
public double ConnectionOuterSpacing { get; set; }
Property Value:

The connection outer spacing.

Gets or sets the type of the tree layout.

C#
public TreeLayoutType TreeLayoutType { get; set; }
Property Value:

The type of the tree layout.

Methods

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

C#
public IList<Point> GetRoutePoints(IConnection connection, bool showLastLine)
Parameters:connectionIConnection

The connection.

showLastLinebool

Whether the last line segment should be shown.

Returns:

IList<Point>

Implements: IRouter.GetRoutePoints(IConnection, bool)