From 54be57e90258670c7c577ae4ad83f5ad4cc3d132 Mon Sep 17 00:00:00 2001 From: Dirkster99 Date: Wed, 8 Jul 2020 22:47:58 +0200 Subject: [PATCH] Removing DictionaryTheme class and references since it appeared to be unused. Cleaned code with CodeMaid. --- .../AvalonDock.Themes.Expression/Theme.xaml | 3162 +++++----- .../Controls/AnchorablePaneDropTarget.cs | 417 +- .../Controls/AnchorablePaneTabPanel.cs | 9 +- .../Controls/AnchorablePaneTitle.cs | 11 +- .../Controls/AutoHideWindowManager.cs | 11 +- .../AvalonDock/Controls/ContextMenuEx.cs | 2 +- .../Controls/DockingManagerDropTarget.cs | 303 +- .../DocumentPaneDropAsAnchorableTarget.cs | 251 +- .../Controls/DocumentPaneDropTarget.cs | 718 +-- .../Controls/DocumentPaneGroupDropTarget.cs | 85 +- .../Controls/DocumentPaneTabPanel.cs | 8 +- .../AvalonDock/Controls/DragService.cs | 20 +- .../AvalonDock/Controls/DropArea.cs | 12 +- .../AvalonDock/Controls/DropDownButton.cs | 8 +- .../Controls/DropDownControlArea.cs | 8 +- .../AvalonDock/Controls/DropTarget.cs | 18 +- .../AvalonDock/Controls/DropTargetBase.cs | 2 +- .../AvalonDock/Controls/DropTargetType.cs | 10 +- .../AvalonDock/Controls/Extensions.cs | 6 +- .../Controls/FocusElementManager.cs | 13 +- .../AvalonDock/Controls/FullWeakDictionary.cs | 8 +- .../AvalonDock/Controls/IDropTarget.cs | 18 +- .../AvalonDock/Controls/IOverlayWindow.cs | 22 +- .../AvalonDock/Controls/IOverlayWindowHost.cs | 8 +- .../Controls/LayoutAnchorControl.cs | 12 +- .../Controls/LayoutAnchorGroupControl.cs | 10 +- .../Controls/LayoutAnchorSideControl.cs | 13 +- .../Controls/LayoutAnchorableControl.cs | 14 +- .../LayoutAnchorableFloatingWindowControl.cs | 25 +- .../Controls/LayoutAnchorableItem.cs | 578 +- .../Controls/LayoutAnchorablePaneControl.cs | 11 +- .../LayoutAnchorablePaneGroupControl.cs | 11 +- .../Controls/LayoutAnchorableTabItem.cs | 13 +- .../Controls/LayoutAutoHideWindowControl.cs | 79 +- .../Controls/LayoutDocumentControl.cs | 13 +- .../LayoutDocumentFloatingWindowControl.cs | 65 +- .../AvalonDock/Controls/LayoutDocumentItem.cs | 10 +- .../Controls/LayoutDocumentPaneControl.cs | 23 +- .../LayoutDocumentPaneGroupControl.cs | 12 +- .../Controls/LayoutDocumentTabItem.cs | 15 +- .../Controls/LayoutFloatingWindowControl.cs | 1426 +++-- .../AvalonDock/Controls/LayoutGridControl.cs | 22 +- .../Controls/LayoutGridResizerControl.cs | 4 +- .../AvalonDock/Controls/LayoutItem.cs | 97 +- .../AvalonDock/Controls/LayoutPanelControl.cs | 39 +- .../AvalonDock/Controls/MenuItemEx.cs | 22 +- .../AvalonDock/Controls/NamespaceDoc.cs | 2 +- .../AvalonDock/Controls/NavigatorWindow.cs | 68 +- .../AvalonDock/Controls/OverlayWindow.cs | 193 +- .../AvalonDock/Controls/ReentrantFlag.cs | 11 +- .../AvalonDock/Controls/Shell/NamespaceDoc.cs | 2 +- .../Controls/Shell/Standard/ComGuids.cs | 32 +- .../Controls/Shell/Standard/Debug.cs | 2 +- .../Controls/Shell/Standard/DoubleUtil.cs | 21 +- .../Controls/Shell/Standard/DpiHelper.cs | 2 +- .../Controls/Shell/Standard/ErrorCodes.cs | 52 +- .../Controls/Shell/Standard/MessageWindow.cs | 11 +- .../Controls/Shell/Standard/NamespaceDoc.cs | 2 +- .../Controls/Shell/Standard/NativeMethods.cs | 197 +- .../Controls/Shell/Standard/ShellProvider.cs | 159 +- .../Controls/Shell/Standard/StreamHelper.cs | 40 +- .../Controls/Shell/Standard/Utilities.cs | 10 +- .../Controls/Shell/Standard/Verify.cs | 2 +- .../Controls/Shell/SystemCommands.cs | 4 +- .../Controls/Shell/SystemParameters2.cs | 32 +- .../AvalonDock/Controls/Shell/WindowChrome.cs | 6 +- .../Controls/Shell/WindowChromeWorker.cs | 34 +- .../AvalonDock/Controls/TabControlEx.cs | 13 +- .../Controls/TransformExtentions.cs | 3 +- .../AvalonDock/Controls/WeakDictionary.cs | 4 +- .../Controls/WindowActivateEventArgs.cs | 2 +- .../AvalonDock/Controls/WindowHookHandler.cs | 6 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 100 +- .../Converters/AnchorSideToAngleConverter.cs | 92 +- .../AnchorSideToOrientationConverter.cs | 16 +- ...rableContextMenuHideVisibilityConverter.cs | 116 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 104 +- .../Converters/BoolToVisibilityConverter.cs | 119 +- .../AvalonDock/Converters/ConverterCreater.cs | 56 +- ...mmandLayoutItemFromLayoutModelConverter.cs | 104 +- .../InverseBoolToVisibilityConverter.cs | 86 +- .../LayoutItemFromLayoutModelConverter.cs | 100 +- .../AvalonDock/Converters/NamespaceDoc.cs | 2 +- .../Converters/NullToDoNothingConverter.cs | 74 +- .../OverlayWindowToVisibilityConverter.cs | 84 +- .../UriSourceToBitmapImageConverter.cs | 90 +- .../Components/AvalonDock/DockingManager.cs | 5138 ++++++++--------- .../AvalonDock/DocumentClosedEventArgs.cs | 4 +- .../AvalonDock/DocumentClosingEventArgs.cs | 4 +- source/Components/AvalonDock/Extensions.cs | 210 +- .../AvalonDock/Layout/AnchorSide.cs | 2 +- .../Layout/AnchorableShowStrategy.cs | 2 +- .../Layout/ChildrenTreeChangedEventArgs.cs | 2 +- .../AvalonDock/Layout/Extensions.cs | 4 +- .../Layout/IAdjustableSizeLayout.cs | 2 +- .../Layout/ILayoutAnchorablePane.cs | 2 +- .../AvalonDock/Layout/ILayoutContainer.cs | 2 +- .../Layout/ILayoutContentSelector.cs | 4 +- .../AvalonDock/Layout/ILayoutControl.cs | 2 +- .../AvalonDock/Layout/ILayoutDocumentPane.cs | 2 +- .../AvalonDock/Layout/ILayoutElement.cs | 2 +- ...LayoutElementForFloatingWindowExtension.cs | 8 +- .../Layout/ILayoutElementWithVisibility.cs | 2 +- .../AvalonDock/Layout/ILayoutGroup.cs | 2 +- .../Layout/ILayoutOrientableGroup.cs | 2 +- .../AvalonDock/Layout/ILayoutPane.cs | 2 +- .../Layout/ILayoutPaneSerializable.cs | 4 +- .../AvalonDock/Layout/ILayoutPanelElement.cs | 2 +- .../Layout/ILayoutPositionableElement.cs | 3 +- .../Layout/ILayoutPreviousContainer.cs | 4 +- .../AvalonDock/Layout/ILayoutRoot.cs | 2 +- .../Layout/ILayoutUpdateStrategy.cs | 2 +- .../AvalonDock/Layout/LayoutAnchorGroup.cs | 14 +- .../AvalonDock/Layout/LayoutAnchorSide.cs | 12 +- .../AvalonDock/Layout/LayoutAnchorable.cs | 39 +- .../Layout/LayoutAnchorableFloatingWindow.cs | 6 +- .../AvalonDock/Layout/LayoutAnchorablePane.cs | 9 +- .../Layout/LayoutAnchorablePaneGroup.cs | 15 +- .../AvalonDock/Layout/LayoutContent.cs | 33 +- .../AvalonDock/Layout/LayoutDocument.cs | 6 +- .../Layout/LayoutDocumentFloatingWindow.cs | 14 +- .../AvalonDock/Layout/LayoutDocumentPane.cs | 23 +- .../Layout/LayoutDocumentPaneGroup.cs | 6 +- .../AvalonDock/Layout/LayoutElement.cs | 18 +- .../Layout/LayoutElementEventArgs.cs | 2 +- .../AvalonDock/Layout/LayoutFloatingWindow.cs | 11 +- .../AvalonDock/Layout/LayoutGroup.cs | 11 +- .../AvalonDock/Layout/LayoutGroupBase.cs | 3 +- .../AvalonDock/Layout/LayoutPanel.cs | 18 +- .../Layout/LayoutPositionableGroup.cs | 19 +- .../AvalonDock/Layout/LayoutRoot.cs | 71 +- .../AvalonDock/Layout/NamespaceDoc.cs | 2 +- .../LayoutSerializationCallbackEventArgs.cs | 8 +- .../Layout/Serialization/LayoutSerializer.cs | 12 +- .../Layout/Serialization/NamespaceDoc.cs | 2 +- .../Serialization/XmlLayoutSerializer.cs | 8 +- source/Components/AvalonDock/MathHelper.cs | 4 +- .../AvalonDock/Themes/DictionaryTheme.cs | 53 - source/Components/AvalonDock/Win32Helper.cs | 83 +- source/Components/AvalonDock/WindowHelper.cs | 19 +- 140 files changed, 8081 insertions(+), 7552 deletions(-) delete mode 100644 source/Components/AvalonDock/Themes/DictionaryTheme.cs diff --git a/source/Components/AvalonDock.Themes.Expression/Theme.xaml b/source/Components/AvalonDock.Themes.Expression/Theme.xaml index 35d9ea8d..5efe05e9 100644 --- a/source/Components/AvalonDock.Themes.Expression/Theme.xaml +++ b/source/Components/AvalonDock.Themes.Expression/Theme.xaml @@ -1,1603 +1,1603 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + +