Share 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 AutomationPeer.GetPattern call and PatternInterface.TextEdit.

public interface class ITextEditProvider : ITextProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2131344360, 48807, 24019, 186, 107, 40, 219, 180, 2, 250, 212)]
struct ITextEditProvider : ITextProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2131344360, 48807, 24019, 186, 107, 40, 219, 180, 2, 250, 212)]
public interface ITextEditProvider : ITextProvider
Public Interface ITextEditProvider
Implements ITextProvider
Attributes
Implements

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