-api-id | -api-type |
---|---|
E:Microsoft.UI.Xaml.Controls.TreeView.SelectionChanged |
winrt event |
Occurs when there's a change to the items currently selected in the TreeView
.
Handle the TreeView.SelectionChanged
event to respond when the set of selected nodes in the TreeView
control is changed either by a user or programmatically. The TreeView
control raises this event in response to selection changing, which corresponds to changes in the TreeView.SelectedItem, TreeView.SelectedItems, and TreeView.SelectedNodes properties.