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

TreeView.SelectedNodes always empty when SelectionMode is Single #1767

Closed
gregmeess opened this issue Jun 26, 2019 · 2 comments
Closed

TreeView.SelectedNodes always empty when SelectionMode is Single #1767

gregmeess opened this issue Jun 26, 2019 · 2 comments
Assignees
Labels
area-controls product-feedback Indicates that the feedback was related to the product itself. winui/tech

Comments

@gregmeess
Copy link

When the TreeView has SelectionMode="Single", the SelectedNodes property is always empty. This must either be a bug, or there is a different way to get the single selected node that isn't documented.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@gregmeess
Copy link
Author

Providing my related StackOverflow post in case context helps:
https://stackoverflow.com/questions/56766785/uwp-get-selected-nodes-from-treeview-control

@jevansaks jevansaks added the product-feedback Indicates that the feedback was related to the product itself. label Jun 28, 2019
@jevansaks
Copy link
Contributor

Thanks for reporting! This is a product bug that we are tracking as microsoft/microsoft-ui-xaml#124.

QuinnRadich pushed a commit that referenced this issue Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls product-feedback Indicates that the feedback was related to the product itself. winui/tech
Projects
None yet
Development

No branches or pull requests

3 participants