Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AdornerHitTestResult Class

Definition

Namespace:
System.Windows.Media
Assembly:
PresentationFramework.dll

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.

Represents data returned from calling the AdornerHitTest(Point) method.

public ref class AdornerHitTestResult : System::Windows::Media::PointHitTestResult
public class AdornerHitTestResult : System.Windows.Media.PointHitTestResult
type AdornerHitTestResult = class
 inherit PointHitTestResult
Public Class AdornerHitTestResult
Inherits PointHitTestResult
Inheritance
AdornerHitTestResult

Remarks

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

Properties

Name Description
Adorner

Gets the visual that was hit.

PointHit

Gets the point value that is returned from a hit test result.

(Inherited from PointHitTestResult)
VisualHit

Gets the visual object that is returned from a hit test result.

(Inherited from PointHitTestResult)

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also


Feedback

Was this page helpful?