IXRUIElement::GetIsHitTestVisible (Windows Embedded CE 6.0)

1/6/2010

This method retrieves whether the contained area of this UI element can return true values for hit testing.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetIsHitTestVisible(
    bool *pIsHitTestVisible
) = 0;

Parameters

  • pIsHitTestVisible
    [out] Pointer to a Boolean that is set to true if the contained area of this UI element can be used for hit-testing. Otherwise, it is set to false. The default value is true.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If pIsHitTestVisible is false, the UI element ignores any input events, such as MouseLeftButtonDown, and cannot receive UI focus.

.NET Framework Equivalent

System.Windows.UIElement.IsHitTestVisible

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement
IXRUIElement::SetIsHitTestVisible