Export (0) Print
Expand All
Expand Minimize

IUIAutomationElement::CurrentIsContentElement property

Indicates whether the element is a content element.

This property is read-only.

Syntax


HRESULT get_CurrentIsContentElement(
  [out, retval]  BOOL *retVal
);

Property value

Type: BOOL*

TRUE if the element is a content element, otherwise FALSE.

Remarks

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.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

Reference
Automation Element Property IDs
IUIAutomationElement
CachedIsContentElement
CurrentIsControlElement

 

 

Community Additions

ADD
Show:
© 2014 Microsoft