共用方式為


InkCanvas.HitTestCore(PointHitTestParameters) 方法

定義

判斷所指定的點是否落在 InkCanvas 的呈現界限中。

protected:
 override System::Windows::Media::HitTestResult ^ HitTestCore(System::Windows::Media::PointHitTestParameters ^ hitTestParams);
protected override System.Windows.Media.HitTestResult HitTestCore (System.Windows.Media.PointHitTestParameters hitTestParams);
override this.HitTestCore : System.Windows.Media.PointHitTestParameters -> System.Windows.Media.HitTestResult
Protected Overrides Function HitTestCore (hitTestParams As PointHitTestParameters) As HitTestResult

參數

hitTestParams
PointHitTestParameters

物件,指定要做為點擊測試依據的 Point

傳回

HitTestResult

物件,表示從點擊測試傳回的 Visual

適用於