GeometryHitTestParameters Constructor (Geometry^)

 

Initializes a new instance of the GeometryHitTestParameters class, using the specified Geometry.

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

public:
GeometryHitTestParameters(
	Geometry^ geometry
)

Parameters

geometry
Type: System.Windows.Media::Geometry^

The Geometry value to use for the hit test geometry.

The following example shows how to set up a hit test by using GeometryHitTestParameters for the HitTest method. A Point value is used to create a Geometry object to expand the range of the hit test over a wider display area.

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

.NET Framework
Available since 3.0
Return to top
Show: