Click or drag to resize
RadTreeViewPreviewUnselected Event
Occurs before a child tree view item is unselected.

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> PreviewUnselected


Type: SystemEventHandlerRadRoutedEventArgs
Following code fragment shows the basic usage.
void private void RadTreeView1_PreviewUnselected(object sender, RadRoutedEventArgs e)
    // get a reference to the item that will be unselected
    RadTreeViewItem itemToUnselect = e.Source as RadTreeViewItem;

    // if the action should be canceled set Handled property to true
    e.Handled = true;
See Also