BewildrTestApp.Window1.tree_selected C# (CSharp) Method

tree_selected() private method

private tree_selected ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void tree_selected(object sender, RoutedEventArgs e)
        {
            tree_results.Content = ((TreeViewItem)treeView1.SelectedItem).Header + " selected";
        }