Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Track.ValueFromPoint Method (Point)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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


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
© 2017 Microsoft