Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

IUIAutomationElement::CachedLabeledBy property

Retrieves the cached element that contains the text label for this element.

This property is read-only.

Syntax


HRESULT get_CachedLabeledBy(
  [out, retval]  IUIAutomationElement **retVal
);

Property value

Type: IUIAutomationElement**

The cached element that contains the text label.

Remarks

This property could be used to retrieve, for example, the static text label for a combo box.

This property maps to the Accessible Rich Internet Applications (ARIA) labeledby property.

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
CurrentLabeledBy

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.