Inheritance: System.Windows.DependencyObject
 public void setTool(Tool tool)
 {
     this.DataContext = tool;
     if (tool.description?.Length > 315)
     {
         scrollIndicator.Visibility = Visibility.Visible;
     }
     else
     {
         scrollIndicator.Visibility = Visibility.Hidden;
     }
 }
 private void openToolInfo(Tool e)
 {
     toolInfoPanel.setTool(e);
     if (!ToolInfoPanelOpen && !DisableFlyouts)
     {
         if (SearchOpen)
         {
             closeSearch();
         }
         if (AdvancedOpen)
         {
             closeAdvancedSettings();
         }
         if (PathsPanelOpen)
         {
             closeGamePaths();
         }
         ToolInfoPanelOpen = true;
         toolInfoPanel.BeginDoubleAnimation(WidthProperty, 300, 50);
     }
 }
 private void ToolMouseOver(object sender, Tool t)
 {
     if (SearchBox.IsFocused)
     {
         SearchBox.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
     }
     openToolInfo(t);
 }