IUIAutomationTextChildPattern interface (uiautomationclient.h)

Provides access a text-based control (or an object embedded in text) that is a child or descendant of another text-based control.

Inheritance

The IUIAutomationTextChildPattern interface inherits from the IUnknown interface.

Methods

The IUIAutomationTextChildPattern interface has these methods.

 
IUIAutomationTextChildPattern::get_TextContainer

Retrieves this element's nearest ancestor element that supports the Text control pattern.
IUIAutomationTextChildPattern::get_TextRange

Retrieves a text range that encloses this child element.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See also

Control Pattern Interfaces for Clients