Share via


IUIAutomationElement::CachedIsControlElement Property

Retrieves a cached value indicting whether the UI element is a control.

Syntax

HRESULT IUIAutomationElement::get_CachedIsControlElement(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property: TRUE if the element is a control element, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Controls are elements in the UI that display information, or that can be manipulated by the user to perform an action.

See Also

UIA_IsControlElementPropertyId, IUIAutomationElement, IUIAutomationElement::CachedIsContentElement, IUIAutomationElement::CurrentIsControlElement