Click or drag to resize
RadTreeViewSelected Event
Occurs when a child RadTreeView item has been selected.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2018.2.515.40 (2018.2.515.40)
public event EventHandler<RadRoutedEventArgs> Selected


Type: SystemEventHandlerRadRoutedEventArgs
Following code fragment shows the basic usage.
void RadTreeView1_Selected(object sender, RadRoutedEventArgs e)
    // get a reference to the item that has been selected
    RadTreeViewItem newSelectedItem = e.Source as RadTreeViewItem;

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

    // get a reference to the selected data item of the TreeView
    object selectedItem = treeView.SelectedItem;

    // get a reference to the selected item container of the Treeview
    RadTreeViewItem selectedItemContainer = treeView.SelectedContainer;
See Also