Share via


IXRUIElement::GetVisibility (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that indicates whether this UI element is visible. Elements that are not visible cannot be rendered on-screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetVisibility(
    XRVisibility* pVisibility
) = 0;

Parameters

  • pVisibility
    [out] Pointer to an XRVisibility structure that describes the display state of this UI element.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

When pVisibility is false, this UI element does not participate in input events, is not in a tab sequence (and cannot receive the UI focus), and is excluded during hit testing.

Note

The value that is provided in IXRUIElement::SetIsHitTestVisible is ignored when a UI element is not visible.

.NET Framework Equivalent

System.Windows.UIElement.Visibility

Requirements

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

See Also

Reference

IXRUIElement
IXRUIElement::SetVisibility