UIA exposes the textual content, including format and style attributes, of text controls in UIA-supported platforms.
Exposing the textual content of a control is accomplished through the use of the TextPattern control pattern, which represents the contents of a text container as a text stream.