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

This router routes the connections when the shape layout is TreeDown, TreeUp, TreeLeft or TreeRight.

Definition

Constructors

Initializes a new instance of the OrgTreeRouter.DirectionalRouter class.

C#
public DirectionalRouter(OrgTreeRouter.DirectionalRoutingSettings settings)
Parameters:settingsOrgTreeRouter.DirectionalRoutingSettings

The settings.

Methods

Gets the route points.

C#
protected override IList<Point> GetRoutePoints()
Returns:

IList<Point>

Overrides: OrgTreeRouter.TreeRouterBase.GetRoutePoints()

Gets the router specific rectangle horizontal points.

C#
protected override IList<Point> GetRouterSpecificRectHorizontalPoints(bool clockwise, Rect rectangle)
Parameters:clockwisebool

If set to false returns the reversed list.

rectangleRect

The rectangle.

Returns:

IList<Point>

Overrides: OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectHorizontalPoints(bool, Rect)

Gets the router specific rectangle vertical points.

C#
protected override IList<Point> GetRouterSpecificRectVerticalPoints(bool clockwise, Rect rectangle)
Parameters:clockwisebool

If set to false returns the reversed list.

rectangleRect

The rectangle.

Returns:

IList<Point>

Overrides: OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectVerticalPoints(bool, Rect)

Sets the source and target connectors.

C#
protected override void SetSourceAndTargetConnectors()

Overrides: OrgTreeRouter.TreeRouterBase.SetSourceAndTargetConnectors()