using System.Windows.Input; using DTS.Common.Interface; // ReSharper disable CheckNamespace namespace DTS.Viewer.GraphList { /// /// Interaction logic for GraphMainView.xaml /// public partial class GraphMainView : IGraphMainView { public GraphMainView() { InitializeComponent(); CommandBindings.Add( new CommandBinding( ApplicationCommands.Undo, (sender, e) => // Execute { e.Handled = true; //root.IsChecked = false; //TvTestChannels.Focus(); }, (sender, e) => // CanExecute { e.Handled = true; //e.CanExecute = (root.IsChecked != false); })); //TvTestChannels.Focus(); } //public void SetTvFocus() //{ // TvTestChannels.Focus(); //} } }