microsoft / microsoft/WinUI-Gallery
TreeView sample should show how to bind/retrieve selected items
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.6k
- Forks
- 756
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 14
Description
Is this a totally new sample, an addition to an existing sample page, or a modification of an existing sample page?
- New sample
- Addition to existing sample
- Modification to existing sample
If this is an addition/modification to an existing sample page, which one?
TreeViewPage
Is your sample request related to a problem? Please describe it
It is unclear how to retrieve the selected items from the TreeView control. It'd be great if the sample provided an example of how to programmatically retrieve and/or bind to the collection of SelectedItems.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing TreeViewPage sample and review how it currently handles selection. Add an example showing how to programmatically retrieve and/or bind the collection of SelectedItems, then verify that the sample makes the selected-item usage clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100