Track.ValueFromPoint(Point) Method

Definition

Calculates the distance from the Thumb to a specified point along the Track.

public:
 virtual double ValueFromPoint(System::Windows::Point pt);
public virtual double ValueFromPoint (System.Windows.Point pt);
abstract member ValueFromPoint : System.Windows.Point -> double
override this.ValueFromPoint : System.Windows.Point -> double
Public Overridable Function ValueFromPoint (pt As Point) As Double

Parameters

pt
Point

The specified point.

Returns

The distance between the Thumb and the specified pt value.

Applies to