Click or drag to resize
RadTreeViewPreviewSelected Event
Occurs before a child tree view item is selected.

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 EventHandler<RadRoutedEventArgs> PreviewSelected

Value

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

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