The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IntersectionDetail Enumeration

Provides information about the intersection between the geometries in the GeometryHitTestParameters and the visual which was hit.

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

type IntersectionDetail
<object property="enumerationMemberName" .../>

Member nameDescription
EmptyThe Geometry hit test parameter and the target visual, or geometry, do not intersect.
FullyContainsThe Geometry hit test parameter is fully contained within the boundary of the target visual or geometry.
FullyInsideThe target visual, or geometry, is fully inside the Geometry hit test parameter.
IntersectsThe Geometry hit test parameter and the target visual, or geometry, intersect. This means that the two elements overlap, but neither element contains the other.
NotCalculatedThe IntersectionDetail value is not calculated.

The following illustration shows the relationship between the hit test geometry (the blue circle) and the visual geometry (the red square).

Intersection between hit test geometry and visual geometry during hit testing

Diagram of IntersectionDetail used in hit testing

The following example shows how to use the IntersectionDetail property of GeometryHitTestResult.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft