ITextProvider Interface

ITextProvider Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

No code example is currently available or this language may not be supported.

The ITextProvider type exposes the following members.

  NameDescription
Public propertyDocumentRangeGets a text range that encloses the main text of a document.
Public propertySupportedTextSelectionGets a value that specifies whether a text provider supports selection, and if it does, the type of selection that is supported.
Top

  NameDescription
Public methodGetSelectionRetrieves a collection of disjoint text ranges that are associated with the current text selection or selections.
Public methodGetVisibleRangesRetrieves 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.
Public methodRangeFromChildRetrieves a text range that encloses a child element, such as an image, hyperlink, or other embedded object.
Public methodRangeFromPointReturns the degenerate (empty) text range that is nearest to the specified screen coordinates.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft