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: Make SelectedItems for ListView and TreeView available in XAML #9413

Open
karmeye opened this issue Mar 8, 2024 · 1 comment
Open
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team

Comments

@karmeye
Copy link

karmeye commented Mar 8, 2024

Proposal: Make SelectedItems for ListView, TreeView, available in XAML

In this way one can handle multiple selections via binding: SelectedItems="{x:Bind ViewModel.SelectedItems, Mode=TwoWay}", just as is possible now with SelectedItem.

Summary

Rationale

  • To be able to bind to SelectedItems

Scope

Capability Priority
This proposal will allow end users to accomplish binding Should

Important Notes

Open Questions

I don't know whether there's a technical or design reason for not including it. But it makes sense to me since SelectedItem (SelectedItemProperty) is there so why not also have support for multiple selection?

@karmeye karmeye added the feature proposal New feature proposal label Mar 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 8, 2024
Copy link

github-actions bot commented Mar 8, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@karmeye karmeye changed the title Proposal: Make SelectedItems for ListView, TreeView, available in XAML Proposal: Make SelectedItems for ListView and TreeView available in XAML Mar 8, 2024
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Mar 22, 2024
@bpulliam bpulliam added the team-Controls Issue for the Controls team label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants