Silverlight SDK for Microsoft Bing
GetProportionalValue Method (val, min, max)
OverviewSystem.Windows.ReflectionArrangeSorterGetProportionalValue(Object, Object, Object)
A static functor for retrieving a Double value as a proportional value within a prescribed range
Declaration Syntax
C#Visual BasicVisual C++
public static double GetProportionalValue(
	Object val,
	Object min,
	Object max
)
Public Shared Function GetProportionalValue ( _
	val As Object, _
	min As Object, _
	max As Object _
) As Double
public:
static double GetProportionalValue(
	Object^ val, 
	Object^ min, 
	Object^ max
)
Parameters
val (Object)
The value to be evaluated within a range
min (Object)
The minimum for the range
max (Object)
The maximum for the range
Return Value
The value requested
Remarks
NOTE: This method will return zero (0) if the types of each parameter are not identifical. This method also only supports integral values and DateTime structures.

Assembly: System.Windows.Controls.Views.Toolkit (Module: System.Windows.Controls.Views.Toolkit) Version: 1.0.0.0 (1.0.0.0)