Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: support keyboard shortcuts to expand/collapse children in TreeView #9924

Open
chausner opened this issue Aug 26, 2024 · 1 comment
Labels
feature proposal New feature proposal needs-triage Issue needs to be triaged by the area owners

Comments

@chausner
Copy link

Proposal: support keyboard shortcuts to expand/collapse children in TreeView

Summary

Add support to the TreeView control to expand/recursively expand/collaps the selected node when the +/*/- keys are pressed.

Rationale

The TreeView controls in WPF (and probably also WinForms/Win32) allow the following keyboard shortcuts when an item is selected in a TreeView:

  • plus key: expand selected node
  • asterisk key: recursively expand all child nodes
  • minus key: collapse selected node

These shortcuts have been in use for a long time and supported across applications. It would be desirable that WinUI continues to support them. Especially the shortcut to recursively expand nodes is sometimes very useful because it is not available via the mouse or touch (as far as I know).

@chausner chausner added the feature proposal New feature proposal label Aug 26, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Aug 26, 2024
@Permik
Copy link

Permik commented Aug 28, 2024

UX regressions from win32 seem like a very low priority for the team, so don't hold your breath 😅
ref: #8953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

2 participants