Поделиться через


IXRUIElement::HitTest(XRRect, IXRHitTestResults) (Compact 2013)

3/28/2014

This method returns the results of a hit test that specifies a rectangular region on the screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE HitTest(
    XRRect *pRect,
    IXRHitTestResults** ppElements
) = 0;

Parameters

  • pRect
    [in] Pointer to an XRRect structure that describes a region on the screen.
  • ppElements
    [out] Address of a pointer to an IXRHitTestResults object that indicates the UI element or elements that cover the specified region.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.UIElement.HitTest

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement::HitTest
IXRUIElement