Skip to main content
AdornerHitTestResult Class
 

Represents data returned from calling the AdornerHitTest method.

Namespace:   System.Windows.Media
Assembly:  PresentationFramework (in PresentationFramework.dll)

Inheritance Hierarchy
SystemObject
   System.Windows.MediaHitTestResult
     System.Windows.MediaPointHitTestResult
      System.Windows.MediaAdornerHitTestResult

Syntax
public class AdornerHitTestResult : PointHitTestResult
public ref class AdornerHitTestResult : PointHitTestResult
type AdornerHitTestResult = 
    class
        inherit PointHitTestResult
    end
Public Class AdornerHitTestResult
	Inherits PointHitTestResult
Properties
NameDescription
System_CAPS_pubproperty

Gets the visual that was hit.

System_CAPS_pubproperty

Gets the point value that is returned from a hit test result.(Inherited from PointHitTestResult.)

System_CAPS_pubproperty

Gets the visual object that is returned from a hit test result.(Inherited from PointHitTestResult.)

Methods
NameDescription
System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

Remarks

In addition to the visual and point information provided by the base class PointHitTestResult, this class uses the value of the property to return the Adorner that was hit (since there may be multiple Visuals in a single Adorner).

Version Information
.NET Framework
Available since 3.0
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top