PointHitTestParameters 類別

定義

指定 Point 做為對視覺物件進行點擊測試時使用的參數。Specifies a Point as the parameter to be used for hit testing of a visual object.

public ref class PointHitTestParameters : System::Windows::Media::HitTestParameters
public class PointHitTestParameters : System.Windows.Media.HitTestParameters
type PointHitTestParameters = class
    inherit HitTestParameters
Public Class PointHitTestParameters
Inherits HitTestParameters
繼承
PointHitTestParameters

備註

PointHitTestParameters類別適用于離散座標點擊測試,例如裝置可能會傳回。The PointHitTestParameters class is for discrete coordinate hit testing, such as might be returned by a device. 您也可以藉 Geometry 由建立物件來點擊測試 GeometryHitTestParametersYou can also hit test with a Geometry by creating a GeometryHitTestParameters object.

建構函式

PointHitTestParameters(Point)

使用 PointHitTestParameters 來初始化 Point 類別的新執行個體。Initializes a new instance of the PointHitTestParameters class, using a Point.

屬性

HitPoint

取得要進行點擊測試的 PointGets the Point against which to hit test.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於