GoXam for WPF v3
ComputeAngle Method
Northwoods.GoXam Namespace > LinkPanel Class : ComputeAngle Method
the UIElement being rotated
the LabelOrientation declared for the element
the angle of the segment of the route where the element is attached
Dynamically compute the desired angle of an element along a segment of the route.
Syntax
protected virtual double ComputeAngle( 
   UIElement elt,
   LabelOrientation orient,
   double angle
)

Parameters

elt
the UIElement being rotated
orient
the LabelOrientation declared for the element
angle
the angle of the segment of the route where the element is attached

Return Value

the intended angle for the element
Remarks
This method is not called unless the GetOrientation attached property value is not LabelOrientation.None.
See Also

Reference

LinkPanel Class
LinkPanel Members