UIAutomationElement2::CurrentOptimizeForVisualContent property

Indicates whether the provider exposes only elements that are visible.

This property is read-only.

Syntax


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

Property value

Type: BOOL*

TRUE if the provider exposes only visible elements, otherwise FALSE.

Remarks

A value of TRUE indicates that the provider optimizes for visual content, while FALSE indicates that the provider optimizes for virtual content. For more information, see Working with Virtualized Items.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

Reference
CachedOptimizeForVisualContent
IUIAutomationElement2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft