IUIAutomationElement::CurrentIsControlElement Property

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

Syntax

HRESULT IUIAutomationElement::get_CurrentIsControlElement(BOOL *retVal);

Parameters

  • retVal
    The address of a variable receives TRUE if the element is a control element, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_IsControlElementPropertyId, IUIAutomationElement, IUIAutomationElement::CachedIsControlElement, IUIAutomationElement::CurrentIsContentElement