private void MoveToRoot(object sender, ExecutedRoutedEventArgs e) { CenterOnVertex(root_control); var sb = TreeHelpers.FindVisualChildByName <System.Windows.Controls.TextBox>(root_control, "SearchTerm"); sb.Focus(); }
private void MoveToRoot(object sender, ExecutedRoutedEventArgs e) { CenterOnVertex(root_control); var sb = TreeHelpers.FindVisualChildByName <System.Windows.Controls.TextBox>(root_control, "SearchTerm"); sb.Focus(); }