internal bool HandleKeyDown(Key key)
        {
            if (IsControlKeyDown)
            {
                return(false);
            }

            var node = SelectedItem as NodeViewModel;

            if (node == null)
            {
                return(false);
            }

            switch (key)
            {
            case Key.Up:
                NavigationUtilities.MoveUp(this, node);
                return(true);

            case Key.Down:
                NavigationUtilities.MoveDown(this, node);
                return(true);

            case Key.Left:
                NavigationUtilities.MoveLeft(this, node);
                return(true);

            case Key.Right:
                NavigationUtilities.MoveRight(this, node);
                return(true);

            default:
                return(false);
            }
        }
 private void OnScrollProjectNodeIntoView(NodeViewModel node)
 {
     NavigationUtilities.ScrollIntoView(navListBox, node);
 }