This documentation is archived and is not being maintained.
AdornerLayer.AdornerHitTest Method
Visual Studio 2008
Gets an AdornerHitTestResult for a specified point.
Assembly: PresentationFramework (in PresentationFramework.dll)
'Declaration Public Function AdornerHitTest ( _ point As Point _ ) As AdornerHitTestResult 'Usage Dim instance As AdornerLayer Dim point As Point Dim returnValue As AdornerHitTestResult returnValue = instance.AdornerHitTest(point)
You cannot use methods in XAML.
Parameters
- point
- Type: System.Windows.Point
The point to hit test.
Return Value
Type: System.Windows.Media.AdornerHitTestResultAn AdornerHitTestResult for the specified point.
An AdornerHitTestResult contains the Visual that was hit, and the adorner that the visual is part of.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: