IXRUIElement::SetIsHitTestVisible (Windows Embedded CE 6.0)
1/6/2010
This method determines whether the contained area of this UI element can return true values for hit testing
Syntax
virtual HRESULT STDMETHODCALLTYPE SetIsHitTestVisible(
bool IsHitTestVisible
) = 0;
Parameters
- IsHitTestVisible
[in] Boolean that indicates whether the contained area of this UI element can be used for hit testing. To support hit testing, set this value to true. Otherwise, set it to false.
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 |