Delen via


ITextEditProvider Interface

Definition

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 class ITextEditProvider : ITextProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3929408948, 14853, 16398, 181, 249, 78, 145, 180, 15, 97, 118)]
struct ITextEditProvider : ITextProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3929408948, 14853, 16398, 181, 249, 78, 145, 180, 15, 97, 118)]
public interface ITextEditProvider : ITextProvider
Public Interface ITextEditProvider
Implements ITextProvider
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

DocumentRange

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

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

Methods

GetActiveComposition()

Gets the active composition.

GetConversionTarget()

Gets the current conversion target.

GetSelection()

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

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

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

(Inherited from ITextProvider)
RangeFromPoint(Point)

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

(Inherited from ITextProvider)

Applies to

See also