Click or drag to resize
RadTreeViewSelectionChanged Event
Occurs after the value of the SelectedItems property of a tree is changed.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public event SelectionChangedEventHandler SelectionChanged

Value

Type: System.Windows.ControlsSelectionChangedEventHandler
Examples
Following code fragment shows the basic usage.
void RadTreeView1_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangedEventArgs e)
{
    // get a reference to the item that has been selected
    RadTreeViewItem newSelectedItem = e.Source as RadTreeViewItem;

    // get the list of the added items to selection
    IList addedItems = e.AddedItems;

    // get the list of the removed items from the selection
    IList removedItems = e.RemovedItems;

    // get a reference to the RadTreeView
    RadTreeView treeView = (sender as RadTreeView);
}
See Also