Telerik UI for Windows Phone by Progress

Calculates and angle in degrees based on a value, a value range, an angle range and a sweep direction.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization (in Telerik.Windows.Controls.DataVisualization.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public static double CalculateAngle(
	CalculateAngleContext context
)
Visual Basic
Public Shared Function CalculateAngle ( _
	context As CalculateAngleContext _
) As Double
Visual C++
public:
static double CalculateAngle(
	CalculateAngleContext^ context
)

Parameters

context
Type: Telerik.Windows.Controls.GaugesInternal..::..CalculateAngleContext
A context that contains the value to be converted to an angle.

Return Value

Returns an angle in radians that corresponds to the provided value in the context.

See Also