AdornerLayer.AdornerHitTest(Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an AdornerHitTestResult for a specified point.
public:
System::Windows::Media::AdornerHitTestResult ^ AdornerHitTest(System::Windows::Point point);
public System.Windows.Media.AdornerHitTestResult AdornerHitTest (System.Windows.Point point);
member this.AdornerHitTest : System.Windows.Point -> System.Windows.Media.AdornerHitTestResult
Public Function AdornerHitTest (point As Point) As AdornerHitTestResult
Parameters
- point
- Point
The point to hit test.
Returns
An AdornerHitTestResult for the specified point.
Remarks
An AdornerHitTestResult contains the Visual that was hit, and the adorner that the visual is part of.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.