ITextEditProvider ITextEditProvider ITextEditProvider ITextEditProvider Interface


Extends the ITextProvider interface to support access by a Microsoft UI Automation client to controls that support programmatic text-edit actions. Implement ITextEditProvider in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.TextEdit.

public : interface ITextEditProvider : ITextProvider
struct winrt::Windows::UI::Xaml::Automation::Provider::ITextEditProvider : ITextProvider
public interface ITextEditProvider : ITextProvider
Public Interface ITextEditProvider Implements ITextProvider

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


GetActiveComposition() GetActiveComposition() GetActiveComposition() GetActiveComposition()

Gets the active composition.

GetConversionTarget() GetConversionTarget() GetConversionTarget() GetConversionTarget()

Gets the current conversion target.

GetSelection GetSelection GetSelection GetSelection

Retrieves a collection of disjoint text ranges that are associated with the current text selection or selections.

(Inherited from ITextProvider)
GetVisibleRanges GetVisibleRanges GetVisibleRanges 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.

(Inherited from ITextProvider)
RangeFromChild(IRawElementProviderSimple) RangeFromChild(IRawElementProviderSimple) RangeFromChild(IRawElementProviderSimple) RangeFromChild(IRawElementProviderSimple)

Retrieves a text range that encloses a child element, such as an image, hyperlink, or other embedded object.

(Inherited from ITextProvider)
RangeFromPoint(Point) RangeFromPoint(Point) RangeFromPoint(Point) RangeFromPoint(Point)

Retrieves a text range from the vicinity of a screen coordinate.

(Inherited from ITextProvider)


DocumentRange DocumentRange DocumentRange DocumentRange

Gets a text range that encloses the main text of a document.

(Inherited from ITextProvider)
SupportedTextSelection SupportedTextSelection SupportedTextSelection SupportedTextSelection

Gets a value that specifies whether a text provider supports selection, and if it does, the type of selection that is supported.

(Inherited from ITextProvider)

See also