The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ITextProvider Interface
Silverlight
Exposes methods and properties to support UI Automation client access to controls that contain text.
Namespace: System.Windows.Automation.Provider
Assembly: System.Windows (in System.Windows.dll)
The ITextProvider type exposes the following members.
| 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 it does, the type of selection that is supported. |
| Name | Description | |
|---|---|---|
![]() ![]() | GetSelection | Retrieves a collection of disjoint text ranges that are associated with the current text selection or selections. |
![]() ![]() | GetVisibleRanges | Retrieves an array of disjoint text ranges from a text container. Each text range begins with the first partially visible line and ends with the last partially visible line. |
![]() ![]() | RangeFromChild | Retrieves a text range that encloses a child element, such as an image, hyperlink, or other embedded object. |
![]() ![]() | RangeFromPoint | Returns the degenerate (empty) text range that is nearest to the specified screen coordinates. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
Show:


