Skip to content

Add support for ITextRangeProvider #13350

@chiaramooney

Description

@chiaramooney

Add support for ITextRangeProvider

Documentation

https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.provider.itextrangeprovider?view=windowsdesktop-8.0

Behavior

Exposes methods and properties to support UI Automation client access to a span of continuous text in a text container that implements ITextProvider.

Implementation Plan

We should:

  1. Implement the ITextRangeProvider APIs in CompositionDynamicAutomationProvider.
  2. Set the list of controls who implement the ITextRangeProvider to be Document and Edit/Text under certain conditions. To get more information on the conditions visit the page for the individual UIA control types.

For additional reference, see other provider implementations on Fabric: #11874

To Be Clarified

Unclear if documentation if implementation of ITextRangeProvider should be necessary in all cases of an implemented ITextProvider.

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions