Track.ValueFromPoint Method (Point)

 

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

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public virtual double ValueFromPoint(
	Point pt
)

Parameters

pt
Type: System.Windows.Point

The specified point.

Return Value

Type: System.Double

The distance between the Thumb and the specified pt value.

.NET Framework
Available since 3.0
Return to top
Show: