Skip to content

Add support for IExpandCollapse Provider UIA Interface #13352

Closed
@chiaramooney

Description

@chiaramooney

Documentation

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

Behavior

Exposes methods and properties to support UI Automation client access to controls that can expand and collapse.

Controls of control type AppBar, SplitBar, ComboBox, and TreeItem should always implement the IExpandCollapseProvider. Controls of control type Button, DataItem, Group, ListItem, MenuBar, MenuItem, and ToolBar should conditionally support the IToggleProvider. See here for documentation.

Implementation Plan

We should:

  1. Implement the IExpandCollapseProvider APIs in CompositionDynamicAutomationProvider.
  2. Set the list of controls who implement the IExpandCollapseProvider to be all AppBar, SplitBar, ComboBox, and TreeItem controls and Button, DataItem, Group, ListItem, MenuBar, MenuItem, and ToolBar 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions