Click or drag to resize
RadTreeViewPreviewExpanded Event
Occurs before a child TreeView item is expanded.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation (in Telerik.Windows.Controls.Navigation.dll) Version: 2018.1.116.40 (2018.1.116.40)
Syntax
public event EventHandler<RadRoutedEventArgs> PreviewExpanded

Value

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

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