private void closeToolInfo(int duration = 50) { ToolInfoPanelOpen = false; toolInfoPanel.BeginDoubleAnimation(WidthProperty, 0, duration); }