MSDN Library

IUIAutomationElement::CurrentIsContentElement Property

Retrieves a value that indictes whether the element is a content element.


HRESULT IUIAutomationElement::get_CurrentIsContentElement(BOOL *retVal);


The address of a variable that receives TRUE if the element is a content element, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.


A content element contains data that is presented to the user. Examples of content elements are the items in a list box or a button in a dialog box. Non-content elements, also called peripheral elements, are typically used to manipulate the content in a composite control; for example, the button on a drop-down control.

See Also

Community Additions

© 2016 Microsoft