語言

Track.ValueFromPoint(Point) 方法

定義

計算從 到 Thumb 指定點 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

參數

pt
Point

指定的點。

傳回

與指定Thumb值之間的pt距離。

適用於