Gets the closest tick mark to the given value.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

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

Parameters

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

Return Value

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

See Also