Gets the closest tick mark to the given value.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected double GetClosestTickMark(
	double current
)
Visual Basic
Protected Function GetClosestTickMark ( _
	current As Double _
) As Double
Visual C++
protected:
double GetClosestTickMark(
	double current
)

Parameters

current
Type: System..::..Double
The value to snap.

Return Value

The value of the closest tick mark to the given value.

See Also