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.
Inheritance
The ITextChildProvider interface inherits from the IUnknown interface.
Methods
The ITextChildProvider interface has these methods.
ITextChildProvider::get_TextContainer Retrieves this element's nearest ancestor provider that supports the Text control pattern. |
ITextChildProvider::get_TextRange Retrieves a text range that encloses this child element. (ITextChildProvider.get_TextRange) |
Remarks
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.
Requirements
Requirement | Value |
---|---|
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