ITextProvider Interface
Exposes methods and properties to support UI Automation client access to controls that contain text.
Assembly: UIAutomationProvider (in UIAutomationProvider.dll)
| Name | Description | |
|---|---|---|
![]() | DocumentRange | Gets a text range that encloses the main text of a document. |
![]() | SupportedTextSelection | Gets a value that specifies whether a text provider supports selection and, if so, the type of selection supported. |
| Name | Description | |
|---|---|---|
![]() | GetSelection() | Retrieves a collection of disjoint text ranges associated with the current text selection or selections. |
![]() | GetVisibleRanges() | Retrieves an array of disjoint text ranges from a text container where each text range begins with the first partially visible line through to the end of the last partially visible line. |
![]() | RangeFromChild(IRawElementProviderSimple) | Retrieves a text range enclosing a child element such as an image, hyperlink, or other embedded object. |
![]() | RangeFromPoint(Point) | Returns the degenerate (empty) text range nearest to the specified screen coordinates. |
Implemented on a UI Automation provider that must support the TextPattern control pattern.
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1

