ITextChildProvider interface (uiautomationcore.h)

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


The ITextChildProvider interface inherits from the IUnknown interface.


The ITextChildProvider interface has these methods.


Retrieves this element's nearest ancestor provider that supports the Text control pattern.

Retrieves a text range that encloses this child element. (ITextChildProvider.get_TextRange)


An element that implements the TextChild control pattern must be a child, or descendent, of an element that supports the Text control pattern.

It is not required that this element also implement the Text control pattern.


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

See also

Text control pattern, TextChild control pattern, UI Automation Providers Overview