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: Add "ItemSelected" event to TreeView control #3548

Closed
dan-meier opened this issue Nov 2, 2020 · 3 comments
Closed

Proposal: Add "ItemSelected" event to TreeView control #3548

dan-meier opened this issue Nov 2, 2020 · 3 comments
Assignees
Labels
area-TreeView feature proposal New feature proposal needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team

Comments

@dan-meier
Copy link

This event would occur when a TreeView item's checkbox is checked or unchecked (when the control's SelectionMode property is "Multiple"). The event should include an argument containing the related node object and the new checkbox state (i.e., IsChecked).

There is currently no way to detect when a node checkbox is checked or unchecked.

@dan-meier dan-meier added the feature proposal New feature proposal label Nov 2, 2020
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Nov 2, 2020
@StephenLPeters StephenLPeters added area-TreeView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Nov 3, 2020
@Felix-Dev
Copy link
Contributor

The TreeView control currently has in API preview (WinUI preview versions) a SelectionChanged event which should come with the necessary data requested here. PR here and spec (draft) here.

@StephenLPeters
Copy link
Contributor

There is a selection changed event in preview. Does that cover your needs?

@StephenLPeters StephenLPeters added the needs-author-feedback Asked author to supply more information. label Nov 3, 2020
@dan-meier
Copy link
Author

Yep...that'll work. Thanks!

@ghost ghost added needs-assignee-attention Assignee needs to follow-up or investigate this issue and removed needs-author-feedback Asked author to supply more information. labels Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TreeView feature proposal New feature proposal needs-assignee-attention Assignee needs to follow-up or investigate this issue team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants