Browse Source

Added Styles/AvalonDock custom style (VS2013 fork)

flabbet 4 years ago
parent
commit
2f3451b4d4
56 changed files with 4261 additions and 2411 deletions
  1. 6 1
      PixiEditor/App.xaml
  2. 8 77
      PixiEditor/PixiEditor.csproj
  3. 0 2221
      PixiEditor/Styles/AvalonDock/AvalonDockTheme.xaml
  4. 429 0
      PixiEditor/Styles/AvalonDock/DarkBrushs.xaml
  5. BIN
      PixiEditor/Styles/AvalonDock/Images/DockAnchorableBottom.png
  6. BIN
      PixiEditor/Styles/AvalonDock/Images/DockAnchorableLeft.png
  7. BIN
      PixiEditor/Styles/AvalonDock/Images/DockAnchorableRight.png
  8. BIN
      PixiEditor/Styles/AvalonDock/Images/DockAnchorableTop.png
  9. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableBottom.png
  10. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableLeft.png
  11. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableRight.png
  12. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableTop.png
  13. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentBottom.png
  14. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentInside.png
  15. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentLeft.png
  16. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentRight.png
  17. BIN
      PixiEditor/Styles/AvalonDock/Images/DockDocumentTop.png
  18. BIN
      PixiEditor/Styles/AvalonDock/Images/DockPaneEmpty.png
  19. BIN
      PixiEditor/Styles/AvalonDock/Images/DockPaneLargeEmpty.png
  20. BIN
      PixiEditor/Styles/AvalonDock/Images/HTabGroup.png
  21. BIN
      PixiEditor/Styles/AvalonDock/Images/Locked.png
  22. BIN
      PixiEditor/Styles/AvalonDock/Images/PinAutoHide.png
  23. BIN
      PixiEditor/Styles/AvalonDock/Images/PinAutoHide_Black.png
  24. BIN
      PixiEditor/Styles/AvalonDock/Images/PinAutoHide_Dark.png
  25. BIN
      PixiEditor/Styles/AvalonDock/Images/PinAutoHide_White.png
  26. BIN
      PixiEditor/Styles/AvalonDock/Images/PinClose.png
  27. BIN
      PixiEditor/Styles/AvalonDock/Images/PinClose_Black.png
  28. BIN
      PixiEditor/Styles/AvalonDock/Images/PinClose_Dark.png
  29. BIN
      PixiEditor/Styles/AvalonDock/Images/PinClose_White.png
  30. BIN
      PixiEditor/Styles/AvalonDock/Images/PinDocMenu.png
  31. BIN
      PixiEditor/Styles/AvalonDock/Images/PinDocMenu_Black.png
  32. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMaximize.png
  33. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMaximize_Black.png
  34. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMaximize_Dark.png
  35. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMenu.png
  36. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMenu_Black.png
  37. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMenu_Dark.png
  38. BIN
      PixiEditor/Styles/AvalonDock/Images/PinMenu_White.png
  39. BIN
      PixiEditor/Styles/AvalonDock/Images/PinRestore.png
  40. BIN
      PixiEditor/Styles/AvalonDock/Images/PinRestore_Black.png
  41. BIN
      PixiEditor/Styles/AvalonDock/Images/PinRestore_Dark.png
  42. BIN
      PixiEditor/Styles/AvalonDock/Images/VTabGroup.png
  43. 8 0
      PixiEditor/Styles/AvalonDock/NamespaceDoc.cs
  44. 582 0
      PixiEditor/Styles/AvalonDock/OverlayButtons.xaml
  45. 15 2
      PixiEditor/Styles/AvalonDock/PixiEditorDockTheme.cs
  46. 3 103
      PixiEditor/Styles/AvalonDock/PixiEditorDockTheme.xaml
  47. 2505 0
      PixiEditor/Styles/AvalonDock/Themes/Generic.xaml
  48. 13 0
      PixiEditor/Styles/AvalonDock/Themes/Icons/IconGeometry.xaml
  49. 132 0
      PixiEditor/Styles/AvalonDock/Themes/Menu/DarkBrushs.xaml
  50. 226 0
      PixiEditor/Styles/AvalonDock/Themes/Menu/MenuItem.xaml
  51. 130 0
      PixiEditor/Styles/AvalonDock/Themes/Menu/MenuKeys.cs
  52. 8 0
      PixiEditor/Styles/AvalonDock/Themes/Menu/NamespaceDoc.cs
  53. 8 0
      PixiEditor/Styles/AvalonDock/Themes/NamespaceDoc.cs
  54. 180 0
      PixiEditor/Styles/AvalonDock/Themes/ResourceKeys.cs
  55. 4 3
      PixiEditor/Views/MainWindow.xaml
  56. 4 4
      PixiEditorTests/PixiEditorTests.csproj

+ 6 - 1
PixiEditor/App.xaml

@@ -16,7 +16,12 @@
                 <ResourceDictionary Source="Styles/ImageCheckBoxStyle.xaml" />
                 <ResourceDictionary Source="Styles/ImageCheckBoxStyle.xaml" />
                 <ResourceDictionary Source="Styles/DarkCheckboxStyle.xaml" />
                 <ResourceDictionary Source="Styles/DarkCheckboxStyle.xaml" />
                 <ResourceDictionary Source="Styles/LabelStyles.xaml" />
                 <ResourceDictionary Source="Styles/LabelStyles.xaml" />
-                <ResourceDictionary Source="Styles/AvalonDock/AvalonDockTheme.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/DarkBrushs.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/Themes/Menu/DarkBrushs.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/OverlayButtons.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/Themes/Menu/MenuItem.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/Themes/Icons/IconGeometry.xaml" />
+                <ResourceDictionary Source="Styles/AvalonDock/Themes/Generic.xaml" />
                 <ResourceDictionary Source="Styles/AvalonDock/PixiEditorDockTheme.xaml" />
                 <ResourceDictionary Source="Styles/AvalonDock/PixiEditorDockTheme.xaml" />
             </ResourceDictionary.MergedDictionaries>
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
         </ResourceDictionary>

+ 8 - 77
PixiEditor/PixiEditor.csproj

@@ -26,6 +26,13 @@
     <DebugSymbols>true</DebugSymbols>
     <DebugSymbols>true</DebugSymbols>
   </PropertyGroup>
   </PropertyGroup>
 
 
+  <ItemGroup>
+    <Compile Remove="Styles\AvalonDock\Images\**" />
+    <EmbeddedResource Remove="Styles\AvalonDock\Images\**" />
+    <None Remove="Styles\AvalonDock\Images\**" />
+    <Page Remove="Styles\AvalonDock\Images\**" />
+  </ItemGroup>
+
   <ItemGroup>
   <ItemGroup>
     <None Remove="Images\AnchorDot.png" />
     <None Remove="Images\AnchorDot.png" />
     <None Remove="Images\Eye-off.png" />
     <None Remove="Images\Eye-off.png" />
@@ -35,44 +42,6 @@
     <None Remove="Images\PixiEditorLogo.png" />
     <None Remove="Images\PixiEditorLogo.png" />
     <None Remove="Images\SelectImage.png" />
     <None Remove="Images\SelectImage.png" />
     <None Remove="Images\ZoomImage.png" />
     <None Remove="Images\ZoomImage.png" />
-    <None Remove="Styles\AvalonDock\Images\DockAnchorableBottom.png" />
-    <None Remove="Styles\AvalonDock\Images\DockAnchorableLeft.png" />
-    <None Remove="Styles\AvalonDock\Images\DockAnchorableRight.png" />
-    <None Remove="Styles\AvalonDock\Images\DockAnchorableTop.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentAsAnchorableBottom.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentAsAnchorableLeft.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentAsAnchorableRight.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentAsAnchorableTop.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentBottom.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentInside.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentLeft.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentRight.png" />
-    <None Remove="Styles\AvalonDock\Images\DockDocumentTop.png" />
-    <None Remove="Styles\AvalonDock\Images\DockPaneEmpty.png" />
-    <None Remove="Styles\AvalonDock\Images\DockPaneLargeEmpty.png" />
-    <None Remove="Styles\AvalonDock\Images\HTabGroup.png" />
-    <None Remove="Styles\AvalonDock\Images\Locked.png" />
-    <None Remove="Styles\AvalonDock\Images\PinAutoHide.png" />
-    <None Remove="Styles\AvalonDock\Images\PinAutoHide_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinAutoHide_Dark.png" />
-    <None Remove="Styles\AvalonDock\Images\PinAutoHide_White.png" />
-    <None Remove="Styles\AvalonDock\Images\PinClose.png" />
-    <None Remove="Styles\AvalonDock\Images\PinClose_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinClose_Dark.png" />
-    <None Remove="Styles\AvalonDock\Images\PinClose_White.png" />
-    <None Remove="Styles\AvalonDock\Images\PinDocMenu.png" />
-    <None Remove="Styles\AvalonDock\Images\PinDocMenu_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMaximize.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMaximize_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMaximize_Dark.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMenu.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMenu_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMenu_Dark.png" />
-    <None Remove="Styles\AvalonDock\Images\PinMenu_White.png" />
-    <None Remove="Styles\AvalonDock\Images\PinRestore.png" />
-    <None Remove="Styles\AvalonDock\Images\PinRestore_Black.png" />
-    <None Remove="Styles\AvalonDock\Images\PinRestore_Dark.png" />
-    <None Remove="Styles\AvalonDock\Images\VTabGroup.png" />
     <None Include="..\icon.ico">
     <None Include="..\icon.ico">
       <Pack>True</Pack>
       <Pack>True</Pack>
       <PackagePath></PackagePath>
       <PackagePath></PackagePath>
@@ -83,7 +52,7 @@
     </None>
     </None>
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Dirkster.AvalonDock.Themes.VS2013" Version="4.50.0" />
+    <PackageReference Include="Dirkster.AvalonDock" Version="4.50.1" />
     <PackageReference Include="Expression.Blend.Sdk">
     <PackageReference Include="Expression.Blend.Sdk">
       <Version>1.0.2</Version>
       <Version>1.0.2</Version>
     </PackageReference>
     </PackageReference>
@@ -114,44 +83,6 @@
     <Resource Include="Images\SelectImage.png" />
     <Resource Include="Images\SelectImage.png" />
     <Resource Include="Images\transparentbg.png" />
     <Resource Include="Images\transparentbg.png" />
     <Resource Include="Images\ZoomImage.png" />
     <Resource Include="Images\ZoomImage.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockAnchorableBottom.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockAnchorableLeft.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockAnchorableRight.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockAnchorableTop.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentAsAnchorableBottom.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentAsAnchorableLeft.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentAsAnchorableRight.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentAsAnchorableTop.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentBottom.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentInside.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentLeft.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentRight.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockDocumentTop.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockPaneEmpty.png" />
-    <Resource Include="Styles\AvalonDock\Images\DockPaneLargeEmpty.png" />
-    <Resource Include="Styles\AvalonDock\Images\HTabGroup.png" />
-    <Resource Include="Styles\AvalonDock\Images\Locked.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinAutoHide.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinAutoHide_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinAutoHide_Dark.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinAutoHide_White.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinClose.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinClose_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinClose_Dark.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinClose_White.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinDocMenu.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinDocMenu_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMaximize.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMaximize_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMaximize_Dark.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMenu.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMenu_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMenu_Dark.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinMenu_White.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinRestore.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinRestore_Black.png" />
-    <Resource Include="Styles\AvalonDock\Images\PinRestore_Dark.png" />
-    <Resource Include="Styles\AvalonDock\Images\VTabGroup.png" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <None Include="..\LICENSE">
     <None Include="..\LICENSE">

+ 0 - 2221
PixiEditor/Styles/AvalonDock/AvalonDockTheme.xaml

@@ -1,2221 +0,0 @@
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-                    xmlns:avalonDock="https://github.com/Dirkster99/AvalonDock"
-                    xmlns:avalonDockControls="clr-namespace:Xceed.Wpf.AvalonDock.Controls;assembly=Xceed.Wpf.AvalonDock"
-                    xmlns:avalonDockConverters="clr-namespace:Xceed.Wpf.AvalonDock.Converters;assembly=Xceed.Wpf.AvalonDock"
-                    xmlns:avalonDockProperties="clr-namespace:Xceed.Wpf.AvalonDock.Properties;assembly=Xceed.Wpf.AvalonDock"
-                    xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Xceed.Wpf.AvalonDock">
-    <avalonDockConverters:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter" />
-    <avalonDockConverters:InverseBoolToVisibilityConverter x:Key="InverseBoolToVisibilityConverter" />
-    <avalonDockConverters:AnchorSideToOrientationConverter x:Key="AnchorSideToOrientationConverter" />
-    <avalonDockConverters:AnchorSideToAngleConverter x:Key="AnchorSideToAngleConverter" />
-    <avalonDockConverters:NullToDoNothingConverter x:Key="NullToDoNothingConverter" />
-    <avalonDockConverters:LayoutItemFromLayoutModelConverter x:Key="LayoutItemFromLayoutModelConverter" />
-    <avalonDockConverters:ActivateCommandLayoutItemFromLayoutModelConverter x:Key="ActivateCommandLayoutItemFromLayoutModelConverter" />
-
-    <Style x:Key="PixiEditorDockThemeToolButtonStyle" TargetType="ToggleButton">
-        <Setter Property="Background" Value="Transparent" />
-        <Setter Property="BorderThickness" Value="1" />
-        <Setter Property="BorderBrush" Value="Transparent" />
-        <Setter Property="Padding" Value="0" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="ToggleButton">
-                    <Border Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}">
-                        <ContentPresenter />
-                    </Border>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-
-        <Style.Triggers>
-            <Trigger Property="IsMouseOver" Value="True">
-                <!--<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor31}" />
-                <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor10}" />-->
-            </Trigger>
-            <Trigger Property="IsChecked" Value="True">
-                <!--<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor31}" />
-                <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor10}" />-->
-            </Trigger>
-        </Style.Triggers>
-    </Style>
-
-    <Style x:Key="PixiEditorDockThemeButtonStyle" TargetType="Button">
-        <Setter Property="Background" Value="Transparent" />
-        <Setter Property="BorderThickness" Value="1" />
-        <Setter Property="BorderBrush" Value="Transparent" />
-        <Setter Property="Padding" Value="0" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="Button">
-                    <Border Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}">
-                        <ContentPresenter />
-                    </Border>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <!--  DocumentPaneControlStyle  -->
-    <Style x:Key="PixiEditorDockThemeDocumentPaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}">
-        <Setter Property="BorderBrush" Value="{x:Null}" />
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeTabBackground}" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}">
-                    <Grid ClipToBounds="true"
-                          KeyboardNavigation.TabNavigation="Local"
-                          SnapsToDevicePixels="true">
-                        <Grid.RowDefinitions>
-                            <RowDefinition Height="Auto" />
-                            <RowDefinition Height="*" />
-                        </Grid.RowDefinitions>
-                        <!--  Following border is required to catch mouse events  -->
-                        <Border Grid.RowSpan="2" Background="Transparent" />
-                        <Grid Grid.Row="0" Panel.ZIndex="1" Visibility="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type avalonDockControls:LayoutDocumentPaneControl}}, Path=Model.ShowHeader, Converter={StaticResource BoolToVisibilityConverter}}">
-                            <Grid.ColumnDefinitions>
-                                <ColumnDefinition />
-                                <ColumnDefinition Width="Auto" />
-                            </Grid.ColumnDefinitions>
-                            <Border x:Name="BD"
-                                    Grid.ColumnSpan="2"
-                                    BorderBrush="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedActiveBackground}"
-                                    BorderThickness="0,0,0,2" />
-                            <avalonDockControls:DocumentPaneTabPanel x:Name="HeaderPanel"
-                                                                     Grid.Row="0"
-                                                                     Grid.Column="0"
-                                                                     Margin="0"
-                                                                     IsItemsHost="true"
-                                                                     KeyboardNavigation.TabIndex="1" />
-                            <avalonDockControls:DropDownButton x:Name="MenuDropDownButton"
-                                                               Grid.Column="1"
-                                                               VerticalAlignment="Center"
-                                                               Focusable="False"
-                                                               Style="{StaticResource PixiEditorDockThemeToolButtonStyle}">
-                                <avalonDockControls:DropDownButton.DropDownContextMenu>
-                                    <avalonDockControls:ContextMenuEx ItemsSource="{Binding Model.ChildrenSorted, RelativeSource={RelativeSource TemplatedParent}}">
-                                        <avalonDockControls:ContextMenuEx.ItemContainerStyle>
-                                            <Style BasedOn="{StaticResource {x:Type MenuItem}}" TargetType="{x:Type avalonDockControls:MenuItemEx}">
-                                                <Setter Property="HeaderTemplate" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplate}" />
-                                                <Setter Property="HeaderTemplateSelector" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplateSelector}" />
-                                                <Setter Property="IconTemplate" Value="{Binding Path=Root.Manager.IconContentTemplate}" />
-                                                <Setter Property="IconTemplateSelector" Value="{Binding Path=Root.Manager.IconContentTemplateSelector}" />
-                                                <Setter Property="Command" Value="{Binding Path=., Converter={StaticResource ActivateCommandLayoutItemFromLayoutModelConverter}}" />
-                                            </Style>
-                                        </avalonDockControls:ContextMenuEx.ItemContainerStyle>
-                                    </avalonDockControls:ContextMenuEx>
-                                </avalonDockControls:DropDownButton.DropDownContextMenu>
-                                <Rectangle x:Name="MenuDropDownButtonImage"
-                                           Fill="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonDefaultGlyph}"
-                                           Width="12" Height="12">
-                                    <Rectangle.OpacityMask>
-                                        <ImageBrush ImageSource="Images/PinDocMenu.png" />
-                                    </Rectangle.OpacityMask>
-                                </Rectangle>
-                            </avalonDockControls:DropDownButton>
-                        </Grid>
-                        <Border x:Name="ContentPanel"
-                                Grid.Row="1"
-                                Grid.Column="0"
-                                HorizontalAlignment="Stretch"
-                                VerticalAlignment="Stretch"
-                                Background="{TemplateBinding Background}"
-                                BorderBrush="{DynamicResource PixiEditorDockThemePanelBorderBrush}"
-                                BorderThickness="1,0,1,1"
-                                KeyboardNavigation.DirectionalNavigation="Contained"
-                                KeyboardNavigation.TabIndex="2"
-                                KeyboardNavigation.TabNavigation="Cycle"
-                                Padding="0">
-                            <ContentPresenter x:Name="PART_SelectedContentHost"
-                                              Margin="0"
-                                              ContentSource="SelectedContent"
-                                              SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
-                        </Border>
-                    </Grid>
-                    <ControlTemplate.Triggers>
-                        <Trigger SourceName="MenuDropDownButton" Property="IsMouseOver" Value="True">
-                            <Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonHoveredBackground}" />
-                            <Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonHoveredBorder}" />
-                            <Setter TargetName="MenuDropDownButtonImage" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonHoveredGlyph}" />
-                        </Trigger>
-
-                        <Trigger SourceName="MenuDropDownButton" Property="IsChecked" Value="True">
-                            <Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonPressedBackground}" />
-                            <Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonPressedBorder}" />
-                            <Setter TargetName="MenuDropDownButtonImage" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellOverflowButtonPressedGlyph}" />
-                        </Trigger>
-
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SelectedContent.IsActive}" Value="False" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="BD" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedInactiveBackground}" />
-                        </MultiDataTrigger>
-
-                        <Trigger Property="IsEnabled" Value="false">
-                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
-                        </Trigger>
-
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Model.ChildrenCount}" Value="0">
-                            <Setter TargetName="BD" Property="BorderBrush" Value="Transparent" />
-                            <Setter TargetName="ContentPanel" Property="Visibility" Value="Collapsed" />
-                            <Setter TargetName="MenuDropDownButton" Property="Visibility" Value="Collapsed" />
-                        </DataTrigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-        <Setter Property="ItemContainerStyle">
-            <Setter.Value>
-                <Style TargetType="{x:Type TabItem}">
-                    <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
-                    <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabUnselectedBackground}" />
-                    <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabUnselectedText}" />
-                    <Setter Property="BorderBrush" Value="Transparent" />
-                    <Setter Property="ToolTip" Value="{Binding ToolTip}" />
-                    <Setter Property="Padding" Value="6,1" />
-                    <Setter Property="Margin" Value="0" />
-                    <Setter Property="Template">
-                        <Setter.Value>
-                            <ControlTemplate TargetType="{x:Type TabItem}">
-                                <Grid SnapsToDevicePixels="true">
-                                    <Border x:Name="Bd"
-                                            Background="{TemplateBinding Background}"
-                                            BorderBrush="{Binding Background, RelativeSource={RelativeSource Self}}"
-                                            BorderThickness="0,0,0,2" />
-                                    <ContentPresenter x:Name="Content"
-                                                      HorizontalAlignment="{Binding HorizontalContentAlignment,
-                                                                                    RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
-                                                      VerticalAlignment="{Binding VerticalContentAlignment,
-                                                                                  RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
-                                                      ContentSource="Header"
-                                                      RecognizesAccessKey="True"
-                                                      SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
-                                </Grid>
-                                <ControlTemplate.Triggers>
-                                    <Trigger Property="Selector.IsSelected" Value="true">
-                                        <Setter Property="Panel.ZIndex" Value="1" />
-                                    </Trigger>
-
-                                    <!-- Document Well : Tab / Selected, active -->
-                                    <DataTrigger Binding="{Binding IsActive}" Value="True">
-                                        <Setter TargetName="Bd" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedActiveBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedActiveText}" />
-                                        <Setter Property="Panel.ZIndex" Value="1" />
-                                    </DataTrigger>
-
-                                    <!-- Document Well : Tab / Selected, inactive -->
-                                    <MultiDataTrigger>
-                                        <MultiDataTrigger.Conditions>
-                                            <Condition Binding="{Binding IsActive}" Value="False" />
-                                            <Condition Binding="{Binding IsSelected}" Value="True" />
-                                        </MultiDataTrigger.Conditions>
-                                        <Setter TargetName="Bd" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedInactiveBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedInactiveText}" />
-                                    </MultiDataTrigger>
-
-                                    <!-- Document Well : Tab / Unselected -->
-                                    <MultiDataTrigger>
-                                        <MultiDataTrigger.Conditions>
-                                            <Condition Binding="{Binding IsActive}" Value="False" />
-                                            <Condition Binding="{Binding IsSelected}" Value="False" />
-                                        </MultiDataTrigger.Conditions>
-                                        <Setter TargetName="Bd" Property="BorderBrush" Value="Transparent" />
-                                    </MultiDataTrigger>
-
-                                    <!-- Document Well : Tab / Unselected, hovered -->
-                                    <MultiTrigger>
-                                        <MultiTrigger.Conditions>
-                                            <Condition Property="IsMouseOver" Value="true" />
-                                            <Condition Property="Selector.IsSelected" Value="false" />
-                                        </MultiTrigger.Conditions>
-                                        <Setter TargetName="Bd" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabUnselectedHoveredBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabUnselectedHoveredText}" />
-                                        <Setter Property="Panel.ZIndex" Value="0" />
-                                    </MultiTrigger>
-
-                                    <Trigger Property="IsEnabled" Value="false">
-                                        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
-                                    </Trigger>
-                                </ControlTemplate.Triggers>
-                            </ControlTemplate>
-                        </Setter.Value>
-                    </Setter>
-                </Style>
-            </Setter.Value>
-        </Setter>
-        <Setter Property="ItemTemplate">
-            <Setter.Value>
-                <DataTemplate>
-                    <avalonDockControls:LayoutDocumentTabItem Model="{Binding}" />
-                </DataTemplate>
-            </Setter.Value>
-        </Setter>
-
-        <Setter Property="ContentTemplate">
-            <Setter.Value>
-                <DataTemplate>
-                    <avalonDockControls:LayoutDocumentControl Model="{Binding}" />
-                </DataTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <!--  AnchorablePaneControlStyle  -->
-    <Style x:Key="PixiEditorDockThemeAnchorablePaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutAnchorablePaneControl}">
-        <Setter Property="TabStripPlacement" Value="Bottom" />
-        <Setter Property="Padding" Value="0" />
-        <Setter Property="BorderThickness" Value="0" />
-        <Setter Property="Foreground" Value="{Binding Model.Root.Manager.Foreground, RelativeSource={RelativeSource Self}}" />
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeTabBackground}" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorablePaneControl}">
-                    <Grid ClipToBounds="true"
-                          KeyboardNavigation.TabNavigation="Local"
-                          SnapsToDevicePixels="true">
-                        <Grid.RowDefinitions>
-                            <RowDefinition Height="*" />
-                            <RowDefinition Height="Auto" />
-                        </Grid.RowDefinitions>
-                        <!--  Following border is required to catch mouse events  -->
-                        <Border Grid.RowSpan="2" Background="Transparent" />
-                        <Border x:Name="ContentPanel"
-                                Grid.Row="0"
-                                Grid.Column="0"
-                                Margin="0"
-                                Background="{TemplateBinding Background}"
-                                BorderBrush="{DynamicResource PixiEditorDockThemePanelBorderBrush}"
-                                BorderThickness="1"
-                                KeyboardNavigation.DirectionalNavigation="Contained"
-                                KeyboardNavigation.TabIndex="2"
-                                KeyboardNavigation.TabNavigation="Cycle">
-                            <ContentPresenter x:Name="PART_SelectedContentHost"
-                                              Margin="{TemplateBinding Padding}"
-                                              ContentSource="SelectedContent"
-                                              SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
-                        </Border>
-                        <avalonDockControls:AnchorablePaneTabPanel x:Name="HeaderPanel"
-                                                                   Grid.Row="1"
-                                                                   Margin="0"
-                                                                   Panel.ZIndex="1"
-                                                                   IsItemsHost="true"
-                                                                   KeyboardNavigation.TabIndex="1" />
-                    </Grid>
-                    <ControlTemplate.Triggers>
-                        <Trigger Property="IsEnabled" Value="false">
-                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
-                        </Trigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-
-        <Setter Property="ItemContainerStyle">
-            <Setter.Value>
-                <Style TargetType="{x:Type TabItem}">
-                    <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowTabUnselectedBackground}" />
-                    <Setter Property="BorderBrush" Value="Transparent" />
-                    <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowTabUnselectedText}" />
-                    <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
-                    <Setter Property="ToolTip" Value="{Binding ToolTip}" />
-                    <Setter Property="Template">
-                        <Setter.Value>
-                            <ControlTemplate TargetType="{x:Type TabItem}">
-                                <Grid SnapsToDevicePixels="true">
-                                    <Border x:Name="SelectedBD"
-                                            Margin="1,-1,1,0"
-                                            BorderBrush="{DynamicResource PixiEditorDockThemeToolWindowTabSelectedActiveBackground}"
-                                            BorderThickness="0,1,0,0"
-                                            Visibility="Collapsed" />
-                                    <Border x:Name="Bd"
-                                            Margin="0"
-                                            Background="{TemplateBinding Background}"
-                                            BorderBrush="{DynamicResource PixiEditorDockThemePanelBorderBrush}"
-                                            BorderThickness="0">
-                                        <ContentPresenter x:Name="Content"
-                                                          Margin="6,2"
-                                                          HorizontalAlignment="{Binding HorizontalContentAlignment,
-                                                                                        RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
-                                                          VerticalAlignment="{Binding VerticalContentAlignment,
-                                                                                      RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
-                                                          ContentSource="Header"
-                                                          RecognizesAccessKey="True"
-                                                          SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
-                                    </Border>
-                                </Grid>
-                                <ControlTemplate.Triggers>
-                                    <Trigger Property="Selector.IsSelected" Value="true">
-                                        <Setter TargetName="SelectedBD" Property="Visibility" Value="Visible" />
-                                        <Setter TargetName="Bd" Property="BorderThickness" Value="1,0,1,1" />
-                                        <Setter Property="Panel.ZIndex" Value="1" />
-                                    </Trigger>
-
-                                    <!-- Tool Window : Tab / Selected, active -->
-                                    <MultiDataTrigger>
-                                        <MultiDataTrigger.Conditions>
-                                            <Condition Binding="{Binding IsSelected}" Value="True" />
-                                            <Condition Binding="{Binding IsActive}" Value="True" />
-                                        </MultiDataTrigger.Conditions>
-                                        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowTabSelectedActiveBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowTabSelectedActiveText}" />
-                                    </MultiDataTrigger>
-
-                                    <!-- Tool Window : Tab / Selected, inactive -->
-                                    <MultiDataTrigger>
-                                        <MultiDataTrigger.Conditions>
-                                            <Condition Binding="{Binding IsSelected}" Value="True" />
-                                            <Condition Binding="{Binding IsActive}" Value="False" />
-                                        </MultiDataTrigger.Conditions>
-                                        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowTabSelectedInactiveBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowTabSelectedInactiveText}" />
-                                    </MultiDataTrigger>
-
-                                    <!-- Tool Window : Tab / Unselected, hovered -->
-                                    <MultiTrigger>
-                                        <MultiTrigger.Conditions>
-                                            <Condition Property="IsMouseOver" Value="true" />
-                                            <Condition Property="Selector.IsSelected" Value="false" />
-                                        </MultiTrigger.Conditions>
-                                        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowTabUnselectedHoveredBackground}" />
-                                        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowTabUnselectedHoveredText}" />
-                                        <Setter Property="Panel.ZIndex" Value="0" />
-                                    </MultiTrigger>
-
-                                    <Trigger Property="IsEnabled" Value="false">
-                                        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
-                                    </Trigger>
-                                </ControlTemplate.Triggers>
-                            </ControlTemplate>
-                        </Setter.Value>
-                    </Setter>
-                    <Style.Triggers>
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type TabControl}}, Path=Items.Count}" Value="1">
-                            <Setter Property="Visibility" Value="Collapsed" />
-                        </DataTrigger>
-                    </Style.Triggers>
-                </Style>
-            </Setter.Value>
-        </Setter>
-
-        <Setter Property="ItemTemplate">
-            <Setter.Value>
-                <DataTemplate>
-                    <avalonDockControls:LayoutAnchorableTabItem Model="{Binding}" />
-                </DataTemplate>
-            </Setter.Value>
-        </Setter>
-
-        <Setter Property="ContentTemplate">
-            <Setter.Value>
-                <DataTemplate>
-                    <avalonDockControls:LayoutAnchorableControl Model="{Binding}" />
-                </DataTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style TargetType="avalonDockControls:AnchorablePaneTitle">
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionInactiveBackground}" />
-        <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionInactiveText}" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate>
-                    <Border Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}">
-                        <Grid Margin="2,3">
-                            <Grid.ColumnDefinitions>
-                                <ColumnDefinition Width="Auto" />
-                                <ColumnDefinition Width="*" />
-                                <ColumnDefinition Width="Auto" />
-                                <ColumnDefinition Width="Auto" />
-                                <ColumnDefinition Width="Auto" />
-                            </Grid.ColumnDefinitions>
-                            <avalonDockControls:DropDownControlArea DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}" DropDownContextMenuDataContext="{Binding Path=LayoutItem, RelativeSource={RelativeSource TemplatedParent}}">
-                                <ContentPresenter x:Name="Header"
-                                                  Margin="2,0,0,0"
-                                                  Content="{Binding Model,
-                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                  ContentTemplate="{Binding Model.Root.Manager.AnchorableTitleTemplate,
-                                                                            RelativeSource={RelativeSource TemplatedParent}}"
-                                                  ContentTemplateSelector="{Binding Model.Root.Manager.AnchorableTitleTemplateSelector,
-                                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                  TextElement.Foreground="{TemplateBinding Foreground}" />
-                            </avalonDockControls:DropDownControlArea>
-
-                            <Rectangle x:Name="DragHandleGeometryPlaceholder"
-                                       Grid.Column="1"
-                                       Fill="{DynamicResource PixiEditorDockThemeToolWindowCaptionInactiveGrip}"
-                                       Visibility="Collapsed" />
-                            <Rectangle x:Name="DragHandleTexture"
-                                       Grid.Column="1"
-                                       Height="5"
-                                       Margin="8,0,4,0"
-                                       VerticalAlignment="Center">
-                                <Rectangle.Fill>
-                                    <DrawingBrush TileMode="Tile"
-                                                  Viewbox="0,0,4,5"
-                                                  ViewboxUnits="Absolute"
-                                                  Viewport="0,0,4,5"
-                                                  ViewportUnits="Absolute">
-                                        <DrawingBrush.Drawing>
-                                            <GeometryDrawing Brush="{Binding Fill, ElementName=DragHandleGeometryPlaceholder, Mode=OneWay, Converter={StaticResource NullToDoNothingConverter}}">
-                                                <GeometryDrawing.Geometry>
-                                                    <GeometryGroup>
-                                                        <GeometryGroup.Children>
-                                                            <RectangleGeometry Rect="0,0,1,1" />
-                                                            <RectangleGeometry Rect="0,4,1,1" />
-                                                            <RectangleGeometry Rect="2,2,1,1" />
-                                                        </GeometryGroup.Children>
-                                                    </GeometryGroup>
-                                                </GeometryDrawing.Geometry>
-                                            </GeometryDrawing>
-                                        </DrawingBrush.Drawing>
-                                    </DrawingBrush>
-                                </Rectangle.Fill>
-                            </Rectangle>
-
-                            <avalonDockControls:DropDownButton x:Name="MenuDropDownButton"
-                                                               Grid.Column="2"
-                                                               VerticalAlignment="Center"
-                                                               DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu,
-                                                                                             RelativeSource={RelativeSource TemplatedParent}}"
-                                                               DropDownContextMenuDataContext="{Binding Path=LayoutItem,
-                                                                                                        RelativeSource={RelativeSource TemplatedParent}}"
-                                                               Focusable="False"
-                                                               Style="{StaticResource PixiEditorDockThemeToolButtonStyle}"
-                                                               ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}">
-                                <Rectangle x:Name="PART_ImgMenuPin"
-                                           Fill="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveGlyph}"
-                                           Width="13" Height="13">
-                                    <Rectangle.OpacityMask>
-                                        <ImageBrush ImageSource="Images/PinMenu.png" />
-                                    </Rectangle.OpacityMask>
-                                </Rectangle>
-                            </avalonDockControls:DropDownButton>
-
-                            <Button x:Name="PART_AutoHidePin"
-                                    Grid.Column="3"
-                                    HorizontalAlignment="Center"
-                                    VerticalAlignment="Center"
-                                    Command="{Binding Path=LayoutItem.AutoHideCommand,
-                                                      RelativeSource={RelativeSource TemplatedParent}}"
-                                    Focusable="False"
-                                    Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                    ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnAutoHide_Hint}"
-                                    Visibility="{Binding Path=IsEnabled,
-                                                         RelativeSource={RelativeSource Self},
-                                                         Mode=OneWay,
-                                                         Converter={StaticResource BoolToVisibilityConverter}}">
-                                <Rectangle x:Name="PART_ImgAutoHidePin" 
-                                           Fill="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveGlyph}"
-                                           Width="13" Height="13">
-                                    <Rectangle.OpacityMask>
-                                        <ImageBrush ImageSource="Images/PinAutoHide.png" />
-                                    </Rectangle.OpacityMask>
-                                </Rectangle>
-                            </Button>
-                            <Button x:Name="PART_HidePin"
-                                    Grid.Column="4"
-                                    HorizontalAlignment="Center"
-                                    VerticalAlignment="Center"
-                                    Command="{Binding Path=LayoutItem.HideCommand,
-                                                      RelativeSource={RelativeSource TemplatedParent}}"
-                                    Focusable="False"
-                                    Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                    ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}"
-                                    Visibility="{Binding Path=IsEnabled,
-                                                         RelativeSource={RelativeSource Self},
-                                                         Mode=OneWay,
-                                                         Converter={StaticResource BoolToVisibilityConverter}}">
-                                <Rectangle x:Name="PART_ImgHidePin" 
-                                           Fill="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveGlyph}"
-                                           Width="13" Height="13">
-                                    <Rectangle.OpacityMask>
-                                        <ImageBrush ImageSource="Images/PinClose.png" />
-                                    </Rectangle.OpacityMask>
-                                </Rectangle>
-                            </Button>
-
-                        </Grid>
-                    </Border>
-                    <ControlTemplate.Triggers>
-                        <DataTrigger Binding="{Binding Model.IsAutoHidden, RelativeSource={RelativeSource Mode=Self}}" Value="True">
-                            <Setter TargetName="PART_AutoHidePin" Property="LayoutTransform">
-                                <Setter.Value>
-                                    <RotateTransform Angle="90" />
-                                </Setter.Value>
-                            </Setter>
-                        </DataTrigger>
-
-                        <!-- Tool Window : Caption / Active -->
-                        <DataTrigger Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True">
-                            <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionActiveBackground}" />
-                            <Setter Property="Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionActiveText}" />
-                            <Setter TargetName="DragHandleGeometryPlaceholder" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionActiveGrip}" />
-                        </DataTrigger>
-
-                        <!-- Tool Window : Caption : Button / Active -->
-                        <DataTrigger Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True">
-                            <Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveGlyph}" />
-                            <Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveGlyph}" />
-                            <Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveGlyph}" />
-                        </DataTrigger>
-
-                        <!-- Tool Window : Caption : Button / Active, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=MenuDropDownButton}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBackground}" />
-                            <Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_AutoHidePin}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBackground}" />
-                            <Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_HidePin}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBackground}" />
-                            <Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Tool Window : Caption : Button / Inactive, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=MenuDropDownButton}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBackground}" />
-                            <Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_AutoHidePin}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_HidePin}" Value="True" />
-                                <Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Tool Window : Caption : Button / Active / Inactive, pressed -->
-                        <Trigger SourceName="MenuDropDownButton" Property="IsChecked" Value="True">
-                            <Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBackground}" />
-                            <Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedGlyph}" />
-                        </Trigger>
-                        <Trigger SourceName="PART_AutoHidePin" Property="IsMouseCaptured" Value="True">
-                            <Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBackground}" />
-                            <Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedGlyph}" />
-                        </Trigger>
-                        <Trigger SourceName="PART_HidePin" Property="IsMouseCaptured" Value="True">
-                            <Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBackground}" />
-                            <Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionButtonActivePressedGlyph}" />
-                        </Trigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <ControlTemplate x:Key="PixiEditorDockThemeAnchorSideTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorSideControl}">
-        <ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Children}">
-            <ItemsControl.ItemsPanel>
-                <ItemsPanelTemplate>
-                    <StackPanel MinWidth="4"
-                                MinHeight="4"
-                                Orientation="{Binding Path=Model.Side,
-                                                      RelativeSource={RelativeSource AncestorType={x:Type avalonDockControls:LayoutAnchorSideControl},
-                                                                                     Mode=FindAncestor},
-                                                      Converter={StaticResource AnchorSideToOrientationConverter}}" />
-                </ItemsPanelTemplate>
-            </ItemsControl.ItemsPanel>
-        </ItemsControl>
-    </ControlTemplate>
-
-    <ControlTemplate x:Key="PixiEditorDockThemeAnchorGroupTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorGroupControl}">
-        <ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Children}">
-            <ItemsControl.LayoutTransform>
-                <RotateTransform Angle="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Model.Parent.Side, Converter={StaticResource AnchorSideToAngleConverter}}" />
-            </ItemsControl.LayoutTransform>
-            <ItemsControl.ItemsPanel>
-                <ItemsPanelTemplate>
-                    <StackPanel Orientation="Horizontal" />
-                </ItemsPanelTemplate>
-            </ItemsControl.ItemsPanel>
-        </ItemsControl>
-    </ControlTemplate>
-
-    <ControlTemplate x:Key="PixiEditorDockThemeAnchorTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorControl}">
-        <Border x:Name="Bd"
-                Margin="0,0,12,0"
-                BorderBrush="{DynamicResource PixiEditorDockThemeAutoHideTabDefaultBorder}"
-                BorderThickness="0,0,0,6"
-                Background="{DynamicResource PixiEditorDockThemeAutoHideTabDefaultBackground}"
-                Padding="0,3,0,3"
-                TextElement.Foreground="{DynamicResource PixiEditorDockThemeAutoHideTabDefaultText}">
-            <ContentPresenter Content="{Binding Model,
-                                                RelativeSource={RelativeSource TemplatedParent}}"
-                              ContentTemplate="{Binding AnchorableHeaderTemplate,
-                                                        Mode=OneWay,
-                                                        RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                       Mode=FindAncestor}}"
-                              ContentTemplateSelector="{Binding AnchorableHeaderTemplateSelector,
-                                                                Mode=OneWay,
-                                                                RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                               Mode=FindAncestor}}" />
-        </Border>
-        <ControlTemplate.Triggers>
-            <Trigger Property="Side" Value="Right">
-                <Setter TargetName="Bd" Property="BorderThickness" Value="0,6,0,0" />
-                <Setter TargetName="Bd" Property="Padding" Value="0,3,0,3" />
-            </Trigger>
-
-            <Trigger Property="Side" Value="Top">
-                <Setter TargetName="Bd" Property="BorderThickness" Value="0,6,0,0" />
-                <Setter TargetName="Bd" Property="Padding" Value="0,3,0,3" />
-            </Trigger>
-
-            <Trigger Property="IsMouseOver" Value="True">
-                <Setter TargetName="Bd" Property="Background" Value="{DynamicResource PixiEditorDockThemeAutoHideTabHoveredBackground}" />
-                <Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeAutoHideTabHoveredBorder}" />
-                <Setter TargetName="Bd" Property="TextElement.Foreground" Value="{DynamicResource PixiEditorDockThemeAutoHideTabHoveredText}" />
-            </Trigger>
-
-        </ControlTemplate.Triggers>
-    </ControlTemplate>
-
-    <Style x:Key="{x:Type avalonDockControls:OverlayWindow}" TargetType="{x:Type avalonDockControls:OverlayWindow}">
-        <Setter Property="UseLayoutRounding" Value="True" />
-        <Setter Property="Background" Value="Transparent" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:OverlayWindow}">
-                    <Canvas x:Name="PART_DropTargetsContainer" Opacity="0.9">
-                        <Path x:Name="PART_PreviewBox"
-                              Fill="AliceBlue"
-                              Stroke="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"
-                              StrokeThickness="2" />
-                        <Grid x:Name="PART_DockingManagerDropTargets">
-                            <Image x:Name="PART_DockingManagerDropTargetLeft"
-                                   HorizontalAlignment="Left"
-                                   VerticalAlignment="Center"
-                                   Source="Images/DockAnchorableLeft.PNG"
-                                   Stretch="None" />
-                            <Image x:Name="PART_DockingManagerDropTargetRight"
-                                   HorizontalAlignment="Right"
-                                   VerticalAlignment="Center"
-                                   Source="Images/DockAnchorableRight.PNG"
-                                   Stretch="None" />
-                            <Image x:Name="PART_DockingManagerDropTargetBottom"
-                                   HorizontalAlignment="Center"
-                                   VerticalAlignment="Bottom"
-                                   Source="Images/DockAnchorableBottom.PNG"
-                                   Stretch="None" />
-                            <Image x:Name="PART_DockingManagerDropTargetTop"
-                                   HorizontalAlignment="Center"
-                                   VerticalAlignment="Top"
-                                   Source="Images/DockAnchorableTop.PNG"
-                                   Stretch="None" />
-                        </Grid>
-                        <Grid x:Name="PART_AnchorablePaneDropTargets">
-                            <Grid Width="112"
-                                  Height="112"
-                                  HorizontalAlignment="Center"
-                                  VerticalAlignment="Center">
-                                <Grid.ColumnDefinitions>
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                </Grid.ColumnDefinitions>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                </Grid.RowDefinitions>
-                                <Image Grid.RowSpan="3"
-                                       Grid.ColumnSpan="3"
-                                       Margin="0,0.5,0,-0.5"
-                                       Source="Images/DockPaneEmpty.png"
-                                       Stretch="None" />
-                                <Border Name="PART_AnchorablePaneDropTargetTop"
-                                        Grid.Row="0"
-                                        Grid.Column="1"
-                                        Margin="0,3.5,0, 0">
-                                    <Image Source="Images/DockDocumentAsAnchorableTop.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_AnchorablePaneDropTargetRight"
-                                        Grid.Row="1"
-                                        Grid.Column="2"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentAsAnchorableRight.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_AnchorablePaneDropTargetBottom"
-                                        Grid.Row="2"
-                                        Grid.Column="1"
-                                        Margin="0,-0.5,0,0">
-                                    <Image Source="Images/DockDocumentAsAnchorableBottom.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_AnchorablePaneDropTargetLeft"
-                                        Grid.Row="1"
-                                        Grid.Column="0"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentAsAnchorableLeft.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_AnchorablePaneDropTargetInto"
-                                        Grid.Row="1"
-                                        Grid.Column="1"
-                                        Margin="0,0.5,0,0">
-                                    <Image Source="Images/DockDocumentInside.png" Stretch="None" />
-                                </Border>
-                            </Grid>
-                        </Grid>
-                        <Grid x:Name="PART_DocumentPaneDropTargets">
-                            <Grid Width="112"
-                                  Height="112"
-                                  HorizontalAlignment="Center"
-                                  VerticalAlignment="Center">
-                                <Grid.ColumnDefinitions>
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                </Grid.ColumnDefinitions>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                </Grid.RowDefinitions>
-                                <Image Grid.RowSpan="3"
-                                       Grid.ColumnSpan="3"
-                                       Source="Images/DockPaneEmpty.PNG"
-                                       Stretch="None" />
-                                <Border Name="PART_DocumentPaneDropTargetTop"
-                                        Grid.Row="0"
-                                        Grid.Column="1"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentTop.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetRight"
-                                        Grid.Row="1"
-                                        Grid.Column="2"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentRight.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetBottom"
-                                        Grid.Row="2"
-                                        Grid.Column="1"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentBottom.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetLeft"
-                                        Grid.Row="1"
-                                        Grid.Column="0"
-                                        Margin="2">
-                                    <Image Source="Images/DockDocumentLeft.png" Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetInto"
-                                        Grid.Row="1"
-                                        Grid.Column="1">
-                                    <Image Source="Images/DockDocumentInside.png" Stretch="None" />
-                                </Border>
-                            </Grid>
-                        </Grid>
-
-                        <Grid x:Name="PART_DocumentPaneFullDropTargets">
-                            <Grid Width="184"
-                                  Height="184"
-                                  HorizontalAlignment="Center"
-                                  VerticalAlignment="Center">
-                                <Grid.ColumnDefinitions>
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                    <ColumnDefinition />
-                                </Grid.ColumnDefinitions>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                    <RowDefinition />
-                                </Grid.RowDefinitions>
-                                <Image Grid.RowSpan="5"
-                                       Grid.ColumnSpan="5"
-                                       Source="Images/DockPaneLargeEmpty.PNG"
-                                       Stretch="None" />
-                                <Border Name="PART_DocumentPaneFullDropTargetTop"
-                                        Grid.Row="1"
-                                        Grid.Column="2">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentTop.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneFullDropTargetRight"
-                                        Grid.Row="2"
-                                        Grid.Column="3">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentRight.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneFullDropTargetBottom"
-                                        Grid.Row="3"
-                                        Grid.Column="2">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentBottom.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneFullDropTargetLeft"
-                                        Grid.Row="2"
-                                        Grid.Column="1">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentLeft.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneFullDropTargetInto"
-                                        Grid.Row="2"
-                                        Grid.Column="2">
-                                    <Image Source="Images/DockDocumentInside.png" Stretch="None" />
-                                </Border>
-
-                                <Border Name="PART_DocumentPaneDropTargetTopAsAnchorablePane"
-                                        Grid.Row="0"
-                                        Grid.Column="2">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentAsAnchorableTop.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetRightAsAnchorablePane"
-                                        Grid.Row="2"
-                                        Grid.Column="4">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentAsAnchorableRight.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetBottomAsAnchorablePane"
-                                        Grid.Row="4"
-                                        Grid.Column="2">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentAsAnchorableBottom.png"
-                                           Stretch="None" />
-                                </Border>
-                                <Border Name="PART_DocumentPaneDropTargetLeftAsAnchorablePane"
-                                        Grid.Row="2"
-                                        Grid.Column="0">
-                                    <Image Margin="2"
-                                           Source="Images/DockDocumentAsAnchorableLeft.png"
-                                           Stretch="None" />
-                                </Border>
-
-                            </Grid>
-                        </Grid>
-
-                    </Canvas>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <DataTemplate x:Key="PixiEditorDockThemeDocumentHeaderTemplate">
-        <TextBlock Text="{Binding Title}" TextTrimming="CharacterEllipsis" />
-    </DataTemplate>
-
-    <DataTemplate x:Key="PixiEditorDockThemeAnchorableHeaderTemplate">
-        <TextBlock Text="{Binding Title}" TextTrimming="CharacterEllipsis" />
-    </DataTemplate>
-
-    <DataTemplate x:Key="PixiEditorDockThemeDocumentTitleTemplate">
-        <TextBlock VerticalAlignment="Center"
-                   Text="{Binding Title}"
-                   TextTrimming="CharacterEllipsis" />
-    </DataTemplate>
-
-    <DataTemplate x:Key="PixiEditorDockThemeAnchorableTitleTemplate">
-        <TextBlock VerticalAlignment="Center"
-                   Text="{Binding Title}"
-                   TextTrimming="CharacterEllipsis" />
-    </DataTemplate>
-
-    <DataTemplate x:Key="PixiEditorDockThemeIconContentTemplate">
-        <Image Source="{Binding IconSource, Converter={StaticResource NullToDoNothingConverter}}" Stretch="Uniform" />
-    </DataTemplate>
-
-    <ContextMenu x:Key="PixiEditorDockThemeAnchorableContextMenu">
-        <MenuItem Command="{Binding Path=FloatCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_Float}" />
-        <MenuItem Command="{Binding Path=DockCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_Dock}" />
-        <MenuItem Command="{Binding Path=DockAsDocumentCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_DockAsDocument}" />
-        <MenuItem Command="{Binding Path=AutoHideCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_AutoHide}" />
-        <MenuItem Command="{Binding Path=HideCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Anchorable_Hide}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}" />
-    </ContextMenu>
-
-    <ContextMenu x:Key="PixiEditorDockThemeDocumentContextMenu">
-        <MenuItem Command="{Binding Path=CloseCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Document_Close}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}" />
-        <MenuItem Command="{Binding Path=CloseAllButThisCommand}" Header="{x:Static avalonDockProperties:Resources.Document_CloseAllButThis}" />
-        <MenuItem Command="{Binding Path=CloseAllCommand}" Header="{x:Static avalonDockProperties:Resources.Document_CloseAll}" />
-        <MenuItem Command="{Binding Path=FloatCommand}" Header="{x:Static avalonDockProperties:Resources.Document_Float}" />
-        <MenuItem Command="{Binding Path=DockAsDocumentCommand}" Header="{x:Static avalonDockProperties:Resources.Document_DockAsDocument}" />
-        <MenuItem Command="{Binding Path=NewHorizontalTabGroupCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Document_NewHorizontalTabGroup}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}">
-            <MenuItem.Icon>
-                <Image Width="14"
-                       Source="/Images\HTabGroup.png"
-                       Stretch="Uniform" />
-            </MenuItem.Icon>
-        </MenuItem>
-
-        <MenuItem Command="{Binding Path=NewVerticalTabGroupCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Document_NewVerticalTabGroup}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}">
-            <MenuItem.Icon>
-                <Image Width="14"
-                       Source="/Images/VTabGroup.png"
-                       Stretch="Uniform" />
-            </MenuItem.Icon>
-        </MenuItem>
-        <MenuItem Command="{Binding Path=MoveToNextTabGroupCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Document_MoveToNextTabGroup}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}" />
-        <MenuItem Command="{Binding Path=MoveToPreviousTabGroupCommand}"
-                  Header="{x:Static avalonDockProperties:Resources.Document_MoveToPreviousTabGroup}"
-                  Visibility="{Binding Path=IsEnabled,
-                                       RelativeSource={RelativeSource Self},
-                                       Mode=OneWay,
-                                       Converter={StaticResource BoolToVisibilityConverter}}" />
-    </ContextMenu>
-
-    <!--  DockingManager  -->
-    <Style x:Key="{x:Type avalonDock:DockingManager}" TargetType="{x:Type avalonDock:DockingManager}">
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeBackground}" />
-        <Setter Property="DocumentPaneControlStyle" Value="{StaticResource PixiEditorDockThemeDocumentPaneControlStyle}" />
-        <Setter Property="AnchorablePaneControlStyle" Value="{StaticResource PixiEditorDockThemeAnchorablePaneControlStyle}" />
-        <Setter Property="AnchorSideTemplate" Value="{StaticResource PixiEditorDockThemeAnchorSideTemplate}" />
-        <Setter Property="AnchorGroupTemplate" Value="{StaticResource PixiEditorDockThemeAnchorGroupTemplate}" />
-        <Setter Property="AnchorTemplate" Value="{StaticResource PixiEditorDockThemeAnchorTemplate}" />
-        <Setter Property="DocumentHeaderTemplate" Value="{StaticResource PixiEditorDockThemeDocumentHeaderTemplate}" />
-        <Setter Property="AnchorableHeaderTemplate" Value="{StaticResource PixiEditorDockThemeAnchorableHeaderTemplate}" />
-        <Setter Property="DocumentTitleTemplate" Value="{StaticResource PixiEditorDockThemeDocumentTitleTemplate}" />
-        <Setter Property="AnchorableTitleTemplate" Value="{StaticResource PixiEditorDockThemeAnchorableTitleTemplate}" />
-        <Setter Property="AnchorableContextMenu" Value="{StaticResource PixiEditorDockThemeAnchorableContextMenu}" />
-        <Setter Property="DocumentContextMenu" Value="{StaticResource PixiEditorDockThemeDocumentContextMenu}" />
-        <Setter Property="DocumentPaneMenuItemHeaderTemplate" Value="{StaticResource PixiEditorDockThemeDocumentHeaderTemplate}" />
-        <Setter Property="IconContentTemplate" Value="{StaticResource PixiEditorDockThemeIconContentTemplate}" />
-        <Setter Property="GridSplitterWidth" Value="6" />
-        <Setter Property="GridSplitterHeight" Value="6" />
-    </Style>
-
-    <!--  LayoutGridResizerControl  -->
-    <Style x:Key="{x:Type avalonDockControls:LayoutGridResizerControl}" TargetType="{x:Type avalonDockControls:LayoutGridResizerControl}">
-        <Setter Property="Background" Value="Transparent" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutGridResizerControl}">
-                    <Border Background="Transparent" />
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style TargetType="{x:Type avalonDockControls:LayoutDocumentControl}">
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentControl}">
-                    <Border Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}">
-                        <ContentPresenter Content="{Binding LayoutItem.View, RelativeSource={RelativeSource TemplatedParent}}" />
-                    </Border>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}">
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}">
-                    <avalonDockControls:DropDownControlArea DropDownContextMenu="{Binding Root.Manager.DocumentContextMenu}" DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}">
-                        <Border Margin="0,3,0,3"
-                                Background="{TemplateBinding Background}"
-                                BorderBrush="{TemplateBinding BorderBrush}"
-                                BorderThickness="{TemplateBinding BorderThickness}">
-                            <Grid>
-                                <Grid.ColumnDefinitions>
-                                    <ColumnDefinition Width="*" />
-                                    <ColumnDefinition Width="Auto" />
-                                </Grid.ColumnDefinitions>
-                                <Border Grid.ColumnSpan="2" Background="Transparent" />
-                                <ContentPresenter Margin="4,0"
-                                                  Content="{Binding Model,
-                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                  ContentTemplate="{Binding DocumentHeaderTemplate,
-                                                                            Mode=OneWay,
-                                                                            RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                                           Mode=FindAncestor}}"
-                                                  ContentTemplateSelector="{Binding DocumentHeaderTemplateSelector,
-                                                                                    Mode=OneWay,
-                                                                                    RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                                                   Mode=FindAncestor}}" />
-                                <!--  Close button should be moved out to the container style  -->
-                                <Button x:Name="DocumentCloseButton"
-                                        Grid.Column="1"
-                                        Width="15"
-                                        Margin="3,0"
-                                        HorizontalAlignment="Center"
-                                        VerticalAlignment="Center"
-                                        Command="{Binding Path=LayoutItem.CloseCommand,
-                                                          RelativeSource={RelativeSource TemplatedParent}}"
-                                        Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                        ToolTip="{x:Static avalonDockProperties:Resources.Document_Close}"
-                                        Visibility="Hidden">
-                                    <Rectangle x:Name="PART_ImgPinClose"
-                                               Width="13" Height="13">
-                                        <Rectangle.OpacityMask>
-                                            <ImageBrush ImageSource="Images/PinClose.png" />
-                                        </Rectangle.OpacityMask>
-                                    </Rectangle>
-                                </Button>
-                            </Grid>
-                        </Border>
-                    </avalonDockControls:DropDownControlArea>
-                    <ControlTemplate.Triggers>
-                        <!-- Close button visibility -->
-                        <DataTrigger Binding="{Binding Path=IsSelected}" Value="true">
-                            <Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
-                        </DataTrigger>
-                        <Trigger Property="IsMouseOver" Value="True">
-                            <Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
-                        </Trigger>
-                        <DataTrigger Binding="{Binding Path=IsLastFocusedDocument}" Value="true">
-                            <Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
-                        </DataTrigger>
-                        <DataTrigger Binding="{Binding Path=IsActive}" Value="true">
-                            <Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
-                        </DataTrigger>
-                        <DataTrigger Binding="{Binding Path=CanClose}" Value="false">
-                            <Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Collapsed" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active -->
-                        <DataTrigger Binding="{Binding IsActive}" Value="true">
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Unselected, tab hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsActive}" Value="False" />
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
-                                <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Unselected, tab hovered, button hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsActive}" Value="False" />
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
-                                <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Unselected, tab hovered, button pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsActive}" Value="False" />
-                                <Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
-                                <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground}" />
-                            <Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph}" />
-                        </MultiDataTrigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style TargetType="{x:Type avalonDockControls:LayoutAnchorableTabItem}">
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableTabItem}">
-                    <avalonDockControls:DropDownControlArea DropDownContextMenu="{Binding Root.Manager.AnchorableContextMenu}" DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}">
-                        <Border Background="{TemplateBinding Background}"
-                                BorderBrush="{TemplateBinding BorderBrush}"
-                                BorderThickness="{TemplateBinding BorderThickness}">
-                            <Grid>
-                                <ContentPresenter Content="{Binding Model,
-                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                  ContentTemplate="{Binding AnchorableHeaderTemplate,
-                                                                            Mode=OneWay,
-                                                                            RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                                           Mode=FindAncestor}}"
-                                                  ContentTemplateSelector="{Binding AnchorableHeaderTemplateSelector,
-                                                                                    Mode=OneWay,
-                                                                                    RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager},
-                                                                                                                   Mode=FindAncestor}}" />
-                                <avalonDockControls:DropDownControlArea Grid.Column="0"
-                                                                        DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu,
-                                                                                                      RelativeSource={RelativeSource TemplatedParent}}"
-                                                                        DropDownContextMenuDataContext="{Binding Path=Model,
-                                                                                                                 RelativeSource={RelativeSource TemplatedParent}}" />
-                            </Grid>
-                        </Border>
-                    </avalonDockControls:DropDownControlArea>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style TargetType="{x:Type avalonDockControls:LayoutAnchorableControl}">
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableControl}">
-                    <Border x:Name="Bd"
-                            Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}">
-                        <Grid>
-                            <Grid.RowDefinitions>
-                                <RowDefinition Height="Auto" />
-                                <RowDefinition Height="*" />
-                            </Grid.RowDefinitions>
-                            <Border x:Name="Header">
-                                <avalonDockControls:AnchorablePaneTitle Model="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}" />
-                            </Border>
-                            <ContentPresenter Grid.Row="1"
-                                              Content="{Binding LayoutItem.View,
-                                                                RelativeSource={RelativeSource TemplatedParent}}"
-                                              FlowDirection="{TemplateBinding FlowDirection}" />
-
-                            <!--
-                                <ContentPresenter
-                                Content="{Binding Model.Content, RelativeSource={RelativeSource TemplatedParent}}"
-                                ContentTemplate="{Binding LayoutItemTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
-                                ContentTemplateSelector="{Binding LayoutItemTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
-                                Grid.Row="1"/>
-                            -->
-                        </Grid>
-                    </Border>
-                    <ControlTemplate.Triggers>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.IsFloating}" Value="True" />
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.Parent.IsDirectlyHostedInFloatingWindow}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="Header" Property="Visibility" Value="Collapsed" />
-                        </MultiDataTrigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
-        <Setter Property="UseLayoutRounding" Value="True" />
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeFloatingDocumentWindowBackground}" />
-        <Setter Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeFloatingDocumentWindowBorder}" />
-        <Setter Property="shell:WindowChrome.WindowChrome">
-            <Setter.Value>
-                <shell:WindowChrome CaptionHeight="24"
-                                    CornerRadius="0"
-                                    GlassFrameThickness="0"
-                                    ResizeBorderThickness="10"
-                                    ShowSystemMenu="False" />
-            </Setter.Value>
-        </Setter>
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
-                    <Grid>
-                        <Border x:Name="WindowBorder"
-                                Background="{TemplateBinding Background}"
-                                BorderBrush="{TemplateBinding BorderBrush}"
-                                BorderThickness="1">
-                            <Grid>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition Height="24" />
-                                    <RowDefinition Height="*" />
-                                </Grid.RowDefinitions>
-
-                                <Border x:Name="Header"
-                                        Padding="2,0,2,0"
-                                        Background="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedInactiveBackground}"
-                                        TextElement.Foreground="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedInactiveText}">
-                                    <Grid>
-                                        <Grid.ColumnDefinitions>
-                                            <ColumnDefinition Width="*" />
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition Width="Auto" />
-                                        </Grid.ColumnDefinitions>
-                                        <ContentPresenter Content="{Binding Model.RootDocument,
-                                                                            RelativeSource={RelativeSource TemplatedParent}}"
-                                                          ContentTemplate="{Binding Model.Root.Manager.DocumentTitleTemplate,
-                                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                          ContentTemplateSelector="{Binding Model.Root.Manager.DocumentTitleTemplateSelector,
-                                                                                            RelativeSource={RelativeSource TemplatedParent}}" />
-
-
-                                        <avalonDockControls:DropDownButton x:Name="ContextMenuDropdownButton"
-                                                                           Grid.Column="1"
-                                                                           HorizontalAlignment="Center"
-                                                                           VerticalAlignment="Center"
-                                                                           HorizontalContentAlignment="Center"
-                                                                           VerticalContentAlignment="Center"
-                                                                           DropDownContextMenu="{Binding Model.Root.Manager.DocumentContextMenu,
-                                                                                                         RelativeSource={RelativeSource TemplatedParent}}"
-                                                                           DropDownContextMenuDataContext="{Binding Path=RootDocumentLayoutItem,
-                                                                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                                           Focusable="False"
-                                                                           Style="{StaticResource PixiEditorDockThemeToolButtonStyle}"
-                                                                           ToolTip="{x:Static avalonDockProperties:Resources.Document_CxMenu_Hint}"
-                                                                           shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinMenu"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinMenu.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </avalonDockControls:DropDownButton>
-
-                                        <Button x:Name="PART_PinMaximize"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                Grid.Column="2"
-                                                Command="{x:Static shell:SystemCommands.MaximizeWindowCommand}"
-                                                CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Window_Maximize}"
-                                                Visibility="{Binding IsMaximized,
-                                                                     RelativeSource={RelativeSource TemplatedParent},
-                                                                     Converter={StaticResource InverseBoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinMaximize"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinMaximize.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-
-                                        <Button x:Name="PART_PinRestore"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                Grid.Column="2"
-                                                Command="{x:Static shell:SystemCommands.RestoreWindowCommand}"
-                                                CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Window_Restore}"
-                                                Visibility="{Binding IsMaximized,
-                                                                     RelativeSource={RelativeSource TemplatedParent},
-                                                                     Converter={StaticResource BoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinRestore"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinRestore.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-
-                                        <Button x:Name="PART_PinClose"
-                                                Grid.Column="3"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                Command="{Binding Path=RootDocumentLayoutItem.CloseCommand,
-                                                                  RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Document_Close}"
-                                                Visibility="{Binding Path=IsEnabled,
-                                                                     RelativeSource={RelativeSource Self},
-                                                                     Mode=OneWay,
-                                                                     Converter={StaticResource BoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinClose"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinClose.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-                                    </Grid>
-                                </Border>
-                                <ContentPresenter Grid.Row="1"
-                                                  Content="{TemplateBinding Content}" />
-                            </Grid>
-                        </Border>
-                    </Grid>
-                    <ControlTemplate.Triggers>
-                        <Trigger Property="WindowState" Value="Maximized">
-                            <Setter TargetName="WindowBorder" Property="Padding" Value="3" />
-                        </Trigger>
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="True">
-                            <Setter TargetName="Header" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedActiveBackground}" />
-                            <Setter TargetName="Header" Property="TextElement.Foreground" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabSelectedActiveText}" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsChecked, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active -->
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true">
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsChecked, ElementName=ContextMenuDropdownButton}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="ContextMenuDropdownButton" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="ContextMenuDropdownButton" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.RootDocument.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
-        <Setter Property="UseLayoutRounding" Value="True" />
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeFloatingToolWindowBackground}" />
-        <Setter Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeFloatingToolWindowBorder}" />
-        <Setter Property="shell:WindowChrome.WindowChrome">
-            <Setter.Value>
-                <shell:WindowChrome CaptionHeight="24"
-                                    CornerRadius="0"
-                                    GlassFrameThickness="0"
-                                    ResizeBorderThickness="10" />
-            </Setter.Value>
-        </Setter>
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
-                    <Grid>
-                        <Border x:Name="WindowBorder"
-                                Background="{TemplateBinding Background}"
-                                BorderBrush="{TemplateBinding BorderBrush}"
-                                BorderThickness="1">
-                            <Grid>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition Height="24" />
-                                    <RowDefinition Height="*" />
-                                </Grid.RowDefinitions>
-                                <Border x:Name="Header"
-                                        Background="{DynamicResource PixiEditorDockThemeToolWindowCaptionInactiveBackground}"
-                                        Padding="2,0,2,0"
-                                        TextElement.Foreground="{DynamicResource PixiEditorDockThemeToolWindowCaptionInactiveText}">
-                                    <Grid>
-                                        <Grid.ColumnDefinitions>
-                                            <ColumnDefinition Width="*" />
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition Width="Auto" />
-                                        </Grid.ColumnDefinitions>
-
-                                        <Border Visibility="{Binding Path=Model.IsSinglePane, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource BoolToVisibilityConverter}}">
-                                            <avalonDockControls:DropDownControlArea DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}" DropDownContextMenuDataContext="{Binding Path=SingleContentLayoutItem, RelativeSource={RelativeSource TemplatedParent}}">
-                                                <ContentPresenter Content="{Binding Model.SinglePane.SelectedContent,
-                                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                                  ContentTemplate="{Binding Model.Root.Manager.AnchorableTitleTemplate,
-                                                                                            RelativeSource={RelativeSource TemplatedParent}}"
-                                                                  ContentTemplateSelector="{Binding Model.Root.Manager.AnchorableTitleTemplateSelector,
-                                                                                                    RelativeSource={RelativeSource TemplatedParent}}" />
-                                            </avalonDockControls:DropDownControlArea>
-                                        </Border>
-
-                                        <avalonDockControls:DropDownButton x:Name="SinglePaneContextMenu"
-                                                                           Grid.Column="1"
-                                                                           HorizontalAlignment="Center"
-                                                                           VerticalAlignment="Center"
-                                                                           HorizontalContentAlignment="Center"
-                                                                           VerticalContentAlignment="Center"
-                                                                           DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu,
-                                                                                                         RelativeSource={RelativeSource TemplatedParent}}"
-                                                                           DropDownContextMenuDataContext="{Binding Path=SingleContentLayoutItem,
-                                                                                                                    RelativeSource={RelativeSource TemplatedParent}}"
-                                                                           Focusable="False"
-                                                                           Style="{StaticResource PixiEditorDockThemeToolButtonStyle}"
-                                                                           ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}"
-                                                                           Visibility="{Binding Path=Model.IsSinglePane,
-                                                                                                RelativeSource={RelativeSource TemplatedParent},
-                                                                                                Converter={StaticResource BoolToVisibilityConverter}}"
-                                                                           shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinMenu"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinMenu.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </avalonDockControls:DropDownButton>
-
-                                        <Button x:Name="PART_PinMaximize"
-                                                Grid.Column="2"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                HorizontalContentAlignment="Center"
-                                                VerticalContentAlignment="Center"
-                                                Command="{x:Static shell:SystemCommands.MaximizeWindowCommand}"
-                                                CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Window_Maximize}"
-                                                Visibility="{Binding IsMaximized,
-                                                                     RelativeSource={RelativeSource TemplatedParent},
-                                                                     Converter={StaticResource InverseBoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinMaximize"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinMaximize.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-
-                                        <Button x:Name="PART_PinRestore"
-                                                Grid.Column="2"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                Command="{x:Static shell:SystemCommands.RestoreWindowCommand}"
-                                                CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Window_Restore}"
-                                                Visibility="{Binding IsMaximized,
-                                                                     RelativeSource={RelativeSource TemplatedParent},
-                                                                     Converter={StaticResource BoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinRestore"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinRestore.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-
-                                        <Button x:Name="PART_PinClose"
-                                                Grid.Column="3"
-                                                HorizontalAlignment="Center"
-                                                VerticalAlignment="Center"
-                                                Command="{Binding HideWindowCommand,
-                                                                  RelativeSource={RelativeSource TemplatedParent}}"
-                                                Focusable="False"
-                                                Style="{StaticResource PixiEditorDockThemeButtonStyle}"
-                                                ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}"
-                                                Visibility="{Binding Path=IsEnabled,
-                                                                     RelativeSource={RelativeSource Self},
-                                                                     Mode=OneWay,
-                                                                     Converter={StaticResource BoolToVisibilityConverter}}"
-                                                shell:WindowChrome.IsHitTestVisibleInChrome="True">
-                                            <Rectangle x:Name="PART_ImgPinClose"
-                                                       Fill="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph}"
-                                                       Width="13" Height="13">
-                                                <Rectangle.OpacityMask>
-                                                    <ImageBrush ImageSource="Images/PinClose.png" />
-                                                </Rectangle.OpacityMask>
-                                            </Rectangle>
-                                        </Button>
-                                    </Grid>
-                                </Border>
-                                <ContentPresenter Grid.Row="1" Content="{TemplateBinding Content}" />
-                            </Grid>
-                        </Border>
-                    </Grid>
-                    <ControlTemplate.Triggers>
-                        <Trigger Property="WindowState" Value="Maximized">
-                            <Setter TargetName="WindowBorder" Property="Padding" Value="3" />
-                        </Trigger>
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="True">
-                            <Setter TargetName="Header" Property="Background" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionActiveBackground}" />
-                            <Setter TargetName="Header" Property="TextElement.Foreground" Value="{DynamicResource PixiEditorDockThemeToolWindowCaptionActiveText}" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, inactive, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsChecked, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active -->
-                        <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true">
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph}" />
-                        </DataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, hovered -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph}" />
-                        </MultiDataTrigger>
-
-                        <!-- Document Well : Tab : Button / Selected, active, pressed -->
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsChecked, ElementName=SinglePaneContextMenu}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                        <MultiDataTrigger>
-                            <MultiDataTrigger.Conditions>
-                                <Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
-                                <Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
-                            </MultiDataTrigger.Conditions>
-                            <Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground}" />
-                            <Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder}" />
-                            <Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph}" />
-                        </MultiDataTrigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style x:Key="{x:Type avalonDockControls:LayoutAutoHideWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAutoHideWindowControl}">
-        <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeTabBackground}" />
-        <Setter Property="AnchorableStyle">
-            <Setter.Value>
-                <Style TargetType="avalonDockControls:LayoutAnchorableControl">
-                    <Setter Property="BorderBrush" Value="{DynamicResource PixiEditorDockThemePanelBorderBrush}" />
-                    <Setter Property="BorderThickness" Value="1" />
-                </Style>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-
-    <Style x:Key="PixiEditorDockThemeNavigatorWindowListBoxItemFocusVisual">
-        <Setter Property="Control.Template">
-            <Setter.Value>
-                <ControlTemplate>
-                    <Rectangle RadiusX="2"
-                               RadiusY="2"
-                               Stroke="{DynamicResource PixiEditorDockThemePanelBorderBrush}"
-                               StrokeThickness="1" />
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style x:Key="PixiEditorDockThemeNavigatorWindowListBoxItemStyle" TargetType="ListBoxItem">
-        <Setter Property="FocusVisualStyle" Value="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemFocusVisual}" />
-        <Setter Property="Background" Value="Transparent" />
-        <Setter Property="BorderBrush" Value="Transparent" />
-        <Setter Property="BorderThickness" Value="1" />
-        <Setter Property="Padding" Value="5,0,5,0" />
-        <Setter Property="VerticalContentAlignment" Value="Center" />
-        <Setter Property="Cursor" Value="Hand" />
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="ListBoxItem">
-                    <Border Background="{TemplateBinding Background}"
-                            BorderBrush="{TemplateBinding BorderBrush}"
-                            BorderThickness="{TemplateBinding BorderThickness}"
-                            SnapsToDevicePixels="true">
-                        <Border x:Name="InnerBorder" BorderThickness="1">
-                            <Grid>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition MaxHeight="11" />
-                                    <RowDefinition />
-                                </Grid.RowDefinitions>
-                                <Rectangle x:Name="UpperHighlight"
-                                           Fill="#75FFFFFF"
-                                           Visibility="Collapsed" />
-                                <ContentPresenter Grid.RowSpan="2"
-                                                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
-                                                  SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
-                            </Grid>
-                        </Border>
-                    </Border>
-                    <ControlTemplate.Triggers>
-                        <!--<Trigger Property="IsMouseOver" Value="true">
-                            <Setter Property="Background" Value="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemSelectedFill}" />
-                            <Setter Property="BorderBrush" Value="#FF98DDFB" />
-                            <Setter TargetName="InnerBorder" Property="BorderBrush" Value="#80FFFFFF" />
-                            <Setter TargetName="UpperHighlight" Property="Visibility" Value="Visible" />
-                            <Setter TargetName="UpperHighlight" Property="Fill" Value="#40FFFFFF" />
-                        </Trigger>-->
-                        <Trigger Property="IsSelected" Value="true">
-                            <Setter Property="Background" Value="{DynamicResource PixiEditorDockThemeNavigatorWindowSelectedBackground}" />
-                            <Setter Property="TextElement.Foreground" Value="{DynamicResource PixiEditorDockThemeNavigatorWindowSelectedText}" />
-                            <!--<Setter Property="BorderBrush" Value="#FF98DDFB" />-->
-                            <!--<Setter TargetName="InnerBorder" Property="BorderBrush" Value="#80FFFFFF" />-->
-                            <!--<Setter TargetName="UpperHighlight" Property="Visibility" Value="Visible" />
-                            <Setter TargetName="UpperHighlight" Property="Fill" Value="#40FFFFFF" />-->
-                        </Trigger>
-                        <!--
-                            <MultiTrigger>
-                            <MultiTrigger.Conditions>
-                            <Condition Property="IsSelected" Value="true"/>
-                            <Condition Property="IsMouseOver" Value="true"/>
-                            </MultiTrigger.Conditions>
-                            <Setter Property="Background" Value="{StaticResource AvalonDock_ThemeMetro_NavigatorWindowListBoxItemSelectedHoverFill}"/>
-                            <Setter Property="BorderBrush" Value="#FF98DDFB"/>
-                            </MultiTrigger>
-                        -->
-                        <Trigger Property="IsEnabled" Value="false">
-                            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
-                        </Trigger>
-                    </ControlTemplate.Triggers>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-    </Style>
-
-    <Style x:Key="{x:Type avalonDockControls:NavigatorWindow}" TargetType="{x:Type avalonDockControls:NavigatorWindow}">
-        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-        <Setter Property="SizeToContent" Value="WidthAndHeight" />
-        <Setter Property="ResizeMode" Value="NoResize" />
-        <!--<Setter Property="shell:WindowChrome.WindowChrome">
-            <Setter.Value>
-                <shell:WindowChrome CaptionHeight="16"
-                                    GlassFrameThickness="4"
-                                    ResizeBorderThickness="10" />
-            </Setter.Value>
-        </Setter>-->
-        <Setter Property="Template">
-            <Setter.Value>
-                <ControlTemplate TargetType="{x:Type avalonDockControls:NavigatorWindow}">
-                    <Grid>
-                        <Border x:Name="WindowBorder"
-                                Background="{DynamicResource PixiEditorDockThemeNavigatorWindowBackground}"
-                                BorderBrush="{DynamicResource PixiEditorDockThemePanelBorderBrush}"
-                                BorderThickness="1">
-                            <Grid>
-                                <Grid.RowDefinitions>
-                                    <RowDefinition Height="54" />
-                                    <RowDefinition Height="*" />
-                                    <RowDefinition Height="Auto" />
-                                </Grid.RowDefinitions>
-
-                                <Grid Margin="5">
-                                    <Grid.RowDefinitions>
-                                        <RowDefinition />
-                                        <RowDefinition />
-                                    </Grid.RowDefinitions>
-                                    <Grid>
-                                        <Grid.ColumnDefinitions>
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition />
-                                        </Grid.ColumnDefinitions>
-                                        <Image Source="{Binding SelectedDocument.LayoutElement.IconSource,
-                                                                RelativeSource={RelativeSource TemplatedParent},
-                                                                Converter={StaticResource NullToDoNothingConverter}}"
-                                               Stretch="None"
-                                               Visibility="{Binding SelectedDocument.LayoutElement.IconSource,
-                                                                    RelativeSource={RelativeSource TemplatedParent},
-                                                                    Converter={StaticResource BoolToVisibilityConverter}}" />
-                                        <TextBlock Grid.Column="1"
-                                                   Margin="4,0,0,0"
-                                                   VerticalAlignment="Center"
-                                                   FontWeight="Bold"
-                                                   Text="{Binding SelectedDocument.LayoutElement.Title, RelativeSource={RelativeSource TemplatedParent}}"
-                                                   TextTrimming="CharacterEllipsis" />
-                                    </Grid>
-                                    <!--<TextBlock VerticalAlignment="Center"
-                                               Text="{Binding SelectedDocument.LayoutElement.Description, RelativeSource={RelativeSource TemplatedParent}}"
-                                               TextTrimming="CharacterEllipsis" />-->
-                                </Grid>
-
-                                <Border Grid.Row="1"
-                                        MinHeight="200"
-                                        Background="{DynamicResource PixiEditorDockThemeNavigatorWindowBackground}"
-                                        BorderBrush="Transparent"
-                                        BorderThickness="0,1,0,0">
-                                    <Grid Margin="5">
-                                        <Grid.ColumnDefinitions>
-                                            <ColumnDefinition Width="Auto" />
-                                            <ColumnDefinition />
-                                        </Grid.ColumnDefinitions>
-                                        <Grid Margin="5">
-                                            <Grid.RowDefinitions>
-                                                <RowDefinition Height="Auto" />
-                                                <RowDefinition />
-                                            </Grid.RowDefinitions>
-                                            <TextBlock Margin="0,3,0,4"
-                                                       FontWeight="Bold"
-                                                       Text="Active Tool Windows" />
-                                            <ListBox Grid.Row="1"
-                                                     MaxHeight="400"
-                                                     Background="Transparent"
-                                                     BorderThickness="0"
-                                                     ItemContainerStyle="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemStyle}"
-                                                     ItemsSource="{Binding Anchorables}"
-                                                     SelectedItem="{Binding SelectedAnchorable,
-                                                                            Mode=TwoWay}">
-                                                <ListBox.ItemTemplate>
-                                                    <DataTemplate>
-                                                        <Grid>
-                                                            <Grid.ColumnDefinitions>
-                                                                <ColumnDefinition Width="16" />
-                                                                <ColumnDefinition Width="150" />
-                                                            </Grid.ColumnDefinitions>
-                                                            <Image Source="{Binding LayoutElement.IconSource, Converter={StaticResource NullToDoNothingConverter}}" Stretch="None" />
-                                                            <TextBlock Grid.Column="1"
-                                                                       Margin="4,0,0,0"
-                                                                       Text="{Binding LayoutElement.Title}"
-                                                                       TextTrimming="CharacterEllipsis" />
-                                                        </Grid>
-                                                    </DataTemplate>
-                                                </ListBox.ItemTemplate>
-                                            </ListBox>
-                                        </Grid>
-                                        <Grid Grid.Column="1" Margin="5">
-                                            <Grid.RowDefinitions>
-                                                <RowDefinition Height="Auto" />
-                                                <RowDefinition />
-                                            </Grid.RowDefinitions>
-                                            <TextBlock Margin="0,3,0,4"
-                                                       FontWeight="Bold"
-                                                       Text="Active Files" />
-                                            <ListBox Grid.Row="1"
-                                                     MaxHeight="400"
-                                                     Background="Transparent"
-                                                     BorderThickness="0"
-                                                     ItemContainerStyle="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemStyle}"
-                                                     ItemsSource="{Binding Documents}"
-                                                     SelectedItem="{Binding SelectedDocument,
-                                                                            Mode=TwoWay}">
-                                                <ListBox.ItemTemplate>
-                                                    <DataTemplate>
-                                                        <Grid>
-                                                            <Grid.ColumnDefinitions>
-                                                                <ColumnDefinition Width="16" />
-                                                                <ColumnDefinition Width="150" />
-                                                            </Grid.ColumnDefinitions>
-                                                            <Image Source="{Binding LayoutElement.IconSource, Converter={StaticResource NullToDoNothingConverter}}" Stretch="None" />
-                                                            <TextBlock Grid.Column="1"
-                                                                       Margin="4,0,0,0"
-                                                                       Text="{Binding LayoutElement.Title}"
-                                                                       TextTrimming="CharacterEllipsis" />
-                                                        </Grid>
-                                                    </DataTemplate>
-                                                </ListBox.ItemTemplate>
-                                                <ListBox.ItemsPanel>
-                                                    <ItemsPanelTemplate>
-                                                        <WrapPanel Orientation="Vertical" />
-                                                    </ItemsPanelTemplate>
-                                                </ListBox.ItemsPanel>
-                                            </ListBox>
-                                        </Grid>
-                                    </Grid>
-                                </Border>
-
-                                <Grid Grid.Row="2" Margin="5">
-                                    <TextBlock VerticalAlignment="Center" Text="{Binding SelectedDocument.LayoutElement.ToolTip, RelativeSource={RelativeSource TemplatedParent}}" />
-                                </Grid>
-                            </Grid>
-                        </Border>
-                    </Grid>
-                </ControlTemplate>
-            </Setter.Value>
-        </Setter>
-
-    </Style>
-
-
-</ResourceDictionary>

+ 429 - 0
PixiEditor/Styles/AvalonDock/DarkBrushs.xaml

@@ -0,0 +1,429 @@
+<ResourceDictionary
+	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+	xmlns:options="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
+	xmlns:reskeys="clr-namespace:PixiEditor.Styles.AvalonDock.Themes">
+	<ResourceDictionary.MergedDictionaries>
+		<ResourceDictionary Source="Themes/Menu/DarkBrushs.xaml" />
+	</ResourceDictionary.MergedDictionaries>
+
+	<!--  Accent Keys  -->
+	<Color x:Key="{x:Static reskeys:ResourceKeys.ControlAccentColorKey}">#FF007ACC</Color>
+
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ControlAccentBrushKey}"
+		options:Freeze="true"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+
+	<!--  General  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.Background}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.PanelBorderBrush}"
+		options:Freeze="true"
+		Color="#3F3F46" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.TabBackground}"
+		options:Freeze="true"
+		Color="#252526" />
+
+	<!--  Auto Hide : Tab  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabDefaultBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabDefaultBorder}"
+		options:Freeze="true"
+		Color="#3F3F46" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabDefaultText}"
+		options:Freeze="true"
+		Color="#D0D0D0" />
+
+	<!--  Mouse Over Auto Hide Button for (collapsed) Auto Hidden Elements  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabHoveredBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<!--  AccentColor  -->
+	<SolidColorBrush x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabHoveredBorder}" Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.AutoHideTabHoveredText}"
+		options:Freeze="true"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+
+	<!--  Document Well : Overflow Button  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonDefaultGlyph}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredBackground}"
+		options:Freeze="true"
+		Color="#3E3E40" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredBorder}"
+		options:Freeze="true"
+		Color="#3E3E40" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredGlyph}"
+		options:Freeze="true"
+		Color="#007ACC" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedBackground}"
+		options:Freeze="true"
+		Color="#007ACC" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedBorder}"
+		options:Freeze="true"
+		Color="#007ACC" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  Document Well : Tab  -->
+	<!--  Selected Document Highlight Header Top color (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveBackground}"
+		options:Freeze="true"
+		Color="#007ACC" />
+
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveText}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveBackground}"
+		options:Freeze="true"
+		Color="#3F3F46" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveText}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedText}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedHoveredBackground}"
+		options:Freeze="true"
+		Color="#1C97EA" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedHoveredText}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  Document Well : Tab : X Button Foreground color for selected document  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}"
+		options:Freeze="true"
+		Color="#1C97EA" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}"
+		options:Freeze="true"
+		Color="#1C97EA" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}"
+		options:Freeze="true"
+		Color="#6D6D70" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}"
+		options:Freeze="true"
+		Color="#555555" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}"
+		options:Freeze="true"
+		Color="#555555" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}"
+		options:Freeze="true"
+		Color="#1B1B1C" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}"
+		options:Freeze="true"
+		Color="#1B1B1C" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredGlyph}"
+		options:Freeze="true"
+		Color="#D0E6F5" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground}"
+		options:Freeze="true"
+		Color="#52B0EF" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder}"
+		options:Freeze="true"
+		Color="#52B0EF" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  Tool Window : Caption  -->
+	<!--  Background of selected toolwindow (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveBackground}"
+		options:Freeze="true"
+		Color="#007ACC" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveGrip}"
+		options:Freeze="true"
+		Color="#59A8DE" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveText}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveGrip}"
+		options:Freeze="true"
+		Color="#46464A" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveText}"
+		options:Freeze="true"
+		Color="#D0D0D0" />
+
+	<!--  Tool Window : Caption : Button  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBackground}"
+		options:Freeze="true"
+		Color="#52B0EF" />
+	<!--  AccentColor  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBorder}"
+		options:Freeze="true"
+		Color="#52B0EF" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBackground}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBorder}"
+		options:Freeze="true"
+		Color="#0E6198" />
+
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBackground}"
+		options:Freeze="true"
+		Color="#393939" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBorder}"
+		options:Freeze="true"
+		Color="#393939" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredGlyph}"
+		options:Freeze="true"
+		Color="#F1F1F1" />
+
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactivePressedBackground}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactivePressedBorder}"
+		options:Freeze="true"
+		Color="#0E6198" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactivePressedGlyph}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  Tool Window : Tab  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabSelectedActiveBackground}"
+		options:Freeze="true"
+		Color="#252526" />
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabSelectedActiveText}"
+		options:Freeze="true"
+		Color="#0097FB" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabSelectedInactiveBackground}"
+		options:Freeze="true"
+		Color="#252526" />
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabSelectedInactiveText}"
+		options:Freeze="true"
+		Color="#0097FB" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedText}"
+		options:Freeze="true"
+		Color="#D0D0D0" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedHoveredBackground}"
+		options:Freeze="true"
+		Color="#3E3E40" />
+	<!--  (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedHoveredText}"
+		options:Freeze="true"
+		Color="#55AAFF" />
+
+	<!--  Floating Document Window  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.FloatingDocumentWindowBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.FloatingDocumentWindowBorder}"
+		options:Freeze="true"
+		Color="#3F3F46" />
+
+	<!--  Floating Tool Window  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.FloatingToolWindowBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.FloatingToolWindowBorder}"
+		options:Freeze="true"
+		Color="#3F3F46" />
+
+	<!--  Navigator Window  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.NavigatorWindowBackground}"
+		options:Freeze="true"
+		Color="#2D2D30" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.NavigatorWindowForeground}"
+		options:Freeze="true"
+		Color="#FFD0D0D0" />
+
+	<!--  Background of selected text in NAvigator Window (AccentColor)  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.NavigatorWindowSelectedBackground}"
+		options:Freeze="true"
+		Color="#007ACC" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.NavigatorWindowSelectedText}"
+		options:Freeze="true"
+		Color="#FFFFFF" />
+
+	<!--  DockingBrushKeys  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DockingButtonBackgroundBrushKey}"
+		options:Freeze="true"
+		Color="#20000000" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}"
+		options:Freeze="true"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}"
+		options:Freeze="true"
+		Color="White" />
+
+
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DockingButtonStarBorderBrushKey}"
+		options:Freeze="true"
+		Color="#40808080" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}"
+		options:Freeze="true"
+		Color="#4C000000" />
+
+	<!--  Preview Box is the highlighted rectangle that shows when a drop area in a window is indicated  -->
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.PreviewBoxBorderBrushKey}"
+		options:Freeze="true"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+	<SolidColorBrush
+		x:Key="{x:Static reskeys:ResourceKeys.PreviewBoxBackgroundBrushKey}"
+		options:Freeze="true"
+		Opacity="0.5"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+
+</ResourceDictionary>

BIN
PixiEditor/Styles/AvalonDock/Images/DockAnchorableBottom.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockAnchorableLeft.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockAnchorableRight.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockAnchorableTop.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableBottom.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableLeft.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableRight.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentAsAnchorableTop.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentBottom.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentInside.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentLeft.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentRight.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockDocumentTop.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockPaneEmpty.png


BIN
PixiEditor/Styles/AvalonDock/Images/DockPaneLargeEmpty.png


BIN
PixiEditor/Styles/AvalonDock/Images/HTabGroup.png


BIN
PixiEditor/Styles/AvalonDock/Images/Locked.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinAutoHide.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinAutoHide_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinAutoHide_Dark.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinAutoHide_White.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinClose.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinClose_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinClose_Dark.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinClose_White.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinDocMenu.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinDocMenu_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMaximize.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMaximize_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMaximize_Dark.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMenu.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMenu_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMenu_Dark.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinMenu_White.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinRestore.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinRestore_Black.png


BIN
PixiEditor/Styles/AvalonDock/Images/PinRestore_Dark.png


BIN
PixiEditor/Styles/AvalonDock/Images/VTabGroup.png


+ 8 - 0
PixiEditor/Styles/AvalonDock/NamespaceDoc.cs

@@ -0,0 +1,8 @@
+namespace PixiEditor.Styles.AvalonDock
+{
+	/// <summary>This library defines the VS2013 theme for AvalonDock.</summary>
+	[System.Runtime.CompilerServices.CompilerGenerated]
+	internal class NamespaceDoc
+	{
+	}
+}

+ 582 - 0
PixiEditor/Styles/AvalonDock/OverlayButtons.xaml

@@ -0,0 +1,582 @@
+<ResourceDictionary
+	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+	xmlns:reskeys="clr-namespace:PixiEditor.Styles.AvalonDock.Themes"
+	xmlns:sys="clr-namespace:System;assembly=mscorlib">
+
+	<!--
+		This file contains the resource definitions for the docking button indicators
+		which are shown when the user drags a document or tool window to place it
+		somewhere else
+	-->
+
+	<!--
+		Defines the height and width of the docking indicator buttons that are shown when
+		documents or tool windows are dragged
+	-->
+	<sys:Double x:Key="{x:Static reskeys:ResourceKeys.DockingButtonWidthKey}">40</sys:Double>
+	<sys:Double x:Key="{x:Static reskeys:ResourceKeys.DockingButtonHeightKey}">40</sys:Double>
+
+	<!--  Left Dock Button pointing left  -->
+	<Viewbox
+		x:Key="DockAnchorableLeft"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Grid Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}">
+			<Border
+				Padding="10"
+				Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+				CornerRadius="5">
+				<Grid>
+					<Grid.ColumnDefinitions>
+						<ColumnDefinition Width="4*" />
+						<ColumnDefinition Width="4*" />
+						<ColumnDefinition Width="2*" />
+					</Grid.ColumnDefinitions>
+
+					<Border
+						Grid.Column="0"
+						Width="50"
+						Height="80"
+						Margin="5"
+						BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+						BorderThickness="20,5,5,5" />
+
+					<Border
+						Grid.Column="1"
+						Width="30"
+						Height="80"
+						Margin="5"
+						BorderBrush="Transparent"
+						BorderThickness="0" />
+
+					<Path
+						Grid.Column="1"
+						Width="25"
+						Height="12.5"
+						Data="F1M1,15L8,1 15,15z"
+						Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+						RenderTransformOrigin="0.5,0.5"
+						Stretch="Fill">
+						<Path.RenderTransform>
+							<RotateTransform Angle="270" />
+						</Path.RenderTransform>
+					</Path>
+
+				</Grid>
+			</Border>
+		</Grid>
+	</Viewbox>
+
+	<!--  Right Dock Button pointing right  -->
+	<Viewbox
+		x:Key="DockAnchorableRight"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Grid Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}">
+			<Border
+				Padding="10"
+				Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+				CornerRadius="5">
+				<Grid>
+					<Grid.ColumnDefinitions>
+						<ColumnDefinition Width="2*" />
+						<ColumnDefinition Width="4*" />
+						<ColumnDefinition Width="4*" />
+					</Grid.ColumnDefinitions>
+
+					<Border
+						Grid.Column="1"
+						Width="50"
+						Height="80"
+						Margin="5"
+						BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+						BorderThickness="5,5,20,5" />
+
+					<Border
+						Grid.Column="0"
+						Width="30"
+						Height="80"
+						Margin="5"
+						BorderBrush="Transparent"
+						BorderThickness="0" />
+
+					<Path
+						Width="25"
+						Height="12.5"
+						Data="F1M1,15L8,1 15,15z"
+						Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+						RenderTransformOrigin="0.5,0.5"
+						Stretch="Fill">
+						<Path.RenderTransform>
+							<RotateTransform Angle="90" />
+						</Path.RenderTransform>
+					</Path>
+				</Grid>
+			</Border>
+		</Grid>
+	</Viewbox>
+
+	<!--  Top Dock Button pointing up  -->
+	<Viewbox
+		x:Key="DockAnchorableTop"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Grid Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}">
+			<Border
+				Padding="10"
+				Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+				CornerRadius="5">
+				<Grid>
+					<Grid.RowDefinitions>
+						<RowDefinition Height="2*" />
+						<RowDefinition Height="4*" />
+						<RowDefinition Height="4*" />
+					</Grid.RowDefinitions>
+					<!--  Transparent Background to size content  -->
+
+					<Border
+						Grid.Row="0"
+						Width="80"
+						Height="50"
+						Margin="5"
+						BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+						BorderThickness="5,20,5,5" />
+
+					<Border
+						Grid.Row="1"
+						Width="80"
+						Height="30"
+						Margin="5"
+						BorderBrush="Transparent"
+						BorderThickness="0" />
+
+					<Path
+						Grid.Row="1"
+						Width="25"
+						Height="12.5"
+						Data="F1M1,15L8,1 15,15z"
+						Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+						RenderTransformOrigin="0.5,0.5"
+						Stretch="Fill" />
+				</Grid>
+			</Border>
+		</Grid>
+	</Viewbox>
+
+	<!--  Bottom Dock Button pointing down  -->
+	<Viewbox
+		x:Key="DockAnchorableBottom"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Grid Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}">
+			<Border
+				Padding="10"
+				Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+				CornerRadius="5">
+				<Grid>
+					<Grid.RowDefinitions>
+						<RowDefinition Height="2*" />
+						<RowDefinition Height="4*" />
+						<RowDefinition Height="4*" />
+					</Grid.RowDefinitions>
+					<!--  Transparent Background to size content  -->
+
+					<Border
+						Grid.Row="1"
+						Width="80"
+						Height="50"
+						Margin="5"
+						BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+						BorderThickness="5,5,5,20" />
+
+					<Border
+						Grid.Row="0"
+						Width="80"
+						Height="30"
+						Margin="5"
+						BorderBrush="Transparent"
+						BorderThickness="0" />
+
+					<Path
+						Width="25"
+						Height="12.5"
+						Data="F1M1,15L8,1 15,15z"
+						Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+						RenderTransformOrigin="0.5,0.5"
+						Stretch="Fill">
+						<Path.RenderTransform>
+							<RotateTransform Angle="180" />
+						</Path.RenderTransform>
+					</Path>
+				</Grid>
+			</Border>
+		</Grid>
+	</Viewbox>
+
+	<!--  Horizontal Split Dock Button with horizonatal dashed line in center  -->
+	<Viewbox
+		x:Key="DockDocumentTop"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="40"
+					Height="40"
+					Margin="4.75"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="2.5,10,2.5,2.5" />
+
+				<Line
+					Margin="0,7.5,0,0"
+					VerticalAlignment="Center"
+					Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					StrokeDashArray="1 1"
+					StrokeThickness="1"
+					X1="5"
+					X2="45"
+					Y1="0"
+					Y2="0" />
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  Center Dock Button without dashed line in center  -->
+	<Viewbox
+		x:Key="DockDocumentInside"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="40"
+					Height="40"
+					Margin="4.75"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="2.5,10,2.5,2.5" />
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  Vertical Split Dock Button with vertical dashed line in center  -->
+	<Viewbox
+		x:Key="DockDocumentLeft"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="40"
+					Height="40"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="2.5,10,2.5,2.5" />
+
+				<Line
+					Margin="5"
+					HorizontalAlignment="Center"
+					Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					StrokeDashArray="1 1"
+					StrokeThickness="1"
+					X1="0"
+					X2="0"
+					Y1="5"
+					Y2="40" />
+
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  Horizontal Split Dock Button with horizonatal dashed line in center  -->
+	<Viewbox
+		x:Key="DockDocumentBottom"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="40"
+					Height="40"
+					Margin="4.75"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="2.5,10,2.5,2.5" />
+
+				<Line
+					Margin="0,7.5,0,0"
+					VerticalAlignment="Center"
+					Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					StrokeDashArray="1 1"
+					StrokeThickness="1"
+					X1="5"
+					X2="45"
+					Y1="0"
+					Y2="0" />
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  Vertical Split Dock Button with vertical dashed line in center  -->
+	<Viewbox
+		x:Key="DockDocumentRight"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="40"
+					Height="40"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="2.5,10,2.5,2.5" />
+
+				<Line
+					Margin="5"
+					HorizontalAlignment="Center"
+					Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					StrokeDashArray="1 1"
+					StrokeThickness="1"
+					X1="0"
+					X2="0"
+					Y1="0"
+					Y2="40" />
+
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  AsAnchorablePane buttons  -->
+	<!--  DockDocumentAsAnchorableTop  -->
+	<Viewbox
+		x:Key="DockDocumentAsAnchorableTop"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid Background="Transparent">
+				<Grid.RowDefinitions>
+					<RowDefinition Height="2*" />
+					<RowDefinition Height="4*" />
+					<RowDefinition Height="4*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="0"
+					Width="80"
+					Height="50"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="5,20,5,5" />
+
+				<Border
+					Grid.Row="1"
+					Width="80"
+					Height="30"
+					Margin="5"
+					BorderBrush="Transparent"
+					BorderThickness="0" />
+
+				<Path
+					Grid.Row="1"
+					Width="25"
+					Height="12.5"
+					Data="F1M1,15L8,1 15,15z"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+					RenderTransformOrigin="0.5,0.5"
+					Stretch="Fill" />
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  DockDocumentAsAnchorableRight  -->
+	<Viewbox
+		x:Key="DockDocumentAsAnchorableRight"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.ColumnDefinitions>
+					<ColumnDefinition Width="2*" />
+					<ColumnDefinition Width="4*" />
+					<ColumnDefinition Width="4*" />
+				</Grid.ColumnDefinitions>
+
+				<Border
+					Grid.Column="1"
+					Width="50"
+					Height="80"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="5,5,20,5" />
+
+				<Border
+					Grid.Column="0"
+					Width="30"
+					Height="80"
+					Margin="5"
+					BorderBrush="Transparent"
+					BorderThickness="0" />
+
+				<Path
+					Width="25"
+					Height="12.5"
+					Data="F1M1,15L8,1 15,15z"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+					RenderTransformOrigin="0.5,0.5"
+					Stretch="Fill">
+					<Path.RenderTransform>
+						<RotateTransform Angle="90" />
+					</Path.RenderTransform>
+				</Path>
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  DockDocumentAsAnchorableBottom  -->
+	<Viewbox
+		x:Key="DockDocumentAsAnchorableBottom"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid>
+				<Grid.RowDefinitions>
+					<RowDefinition Height="2*" />
+					<RowDefinition Height="4*" />
+					<RowDefinition Height="4*" />
+				</Grid.RowDefinitions>
+				<!--  Transparent Background to size content  -->
+
+				<Border
+					Grid.Row="1"
+					Width="80"
+					Height="50"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="5,5,5,20" />
+
+				<Border
+					Grid.Row="0"
+					Width="80"
+					Height="30"
+					Margin="5"
+					BorderBrush="Transparent"
+					BorderThickness="0" />
+
+				<Path
+					Width="25"
+					Height="12.5"
+					Data="F1M1,15L8,1 15,15z"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+					RenderTransformOrigin="0.5,0.5"
+					Stretch="Fill">
+					<Path.RenderTransform>
+						<RotateTransform Angle="180" />
+					</Path.RenderTransform>
+				</Path>
+			</Grid>
+		</Border>
+	</Viewbox>
+
+	<!--  DockDocumentAsAnchorableLeft  -->
+	<Viewbox
+		x:Key="DockDocumentAsAnchorableLeft"
+		x:Shared="false"
+		Stretch="Uniform">
+		<Border
+			Margin="5"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+			CornerRadius="5">
+			<Grid Background="Transparent">
+				<Grid.ColumnDefinitions>
+					<ColumnDefinition Width="4*" />
+					<ColumnDefinition Width="4*" />
+					<ColumnDefinition Width="2*" />
+				</Grid.ColumnDefinitions>
+
+				<Border
+					Grid.Column="0"
+					Width="50"
+					Height="80"
+					Margin="5"
+					BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundBrushKey}}"
+					BorderThickness="20,5,5,5" />
+
+				<Border
+					Grid.Column="1"
+					Width="30"
+					Height="80"
+					Margin="5"
+					BorderBrush="Transparent"
+					BorderThickness="0" />
+
+				<Path
+					Grid.Column="1"
+					Width="25"
+					Height="12.5"
+					Data="F1M1,15L8,1 15,15z"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}"
+					RenderTransformOrigin="0.5,0.5"
+					Stretch="Fill">
+					<Path.RenderTransform>
+						<RotateTransform Angle="270" />
+					</Path.RenderTransform>
+				</Path>
+			</Grid>
+		</Border>
+	</Viewbox>
+
+</ResourceDictionary>

+ 15 - 2
PixiEditor/Styles/AvalonDock/PixiEditorDockTheme.cs

@@ -1,13 +1,26 @@
-using System;
+/************************************************************************
+   AvalonDock
+
+   Copyright (C) 2007-2013 Xceed Software Inc.
+
+   This program is provided to you under the terms of the Microsoft Public
+   License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
+ ************************************************************************/
+
+using System;
 using AvalonDock.Themes;
 using AvalonDock.Themes;
 
 
 namespace PixiEditor.Styles.AvalonDock
 namespace PixiEditor.Styles.AvalonDock
 {
 {
+    /// <inheritdoc/>
     public class PixiEditorDockTheme : Theme
     public class PixiEditorDockTheme : Theme
     {
     {
+        /// <inheritdoc/>
         public override Uri GetResourceUri()
         public override Uri GetResourceUri()
         {
         {
-            return new Uri("/PixiEditor;component/Styles/AvalonDock/PixiEditorDockTheme.xaml", UriKind.Relative);
+            return new Uri(
+                "/PixiEditor;component/Styles/AvalonDock/PixiEditorDockTheme.xaml",
+                UriKind.Relative);
         }
         }
     }
     }
 }
 }

+ 3 - 103
PixiEditor/Styles/AvalonDock/PixiEditorDockTheme.xaml

@@ -1,107 +1,7 @@
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
     <ResourceDictionary.MergedDictionaries>
     <ResourceDictionary.MergedDictionaries>
-        <ResourceDictionary Source="AvalonDockTheme.xaml" />
+        <ResourceDictionary Source="/Styles/AvalonDock/DarkBrushs.xaml" />
+        <ResourceDictionary Source="/Styles/AvalonDock/Themes/Generic.xaml" />
     </ResourceDictionary.MergedDictionaries>
     </ResourceDictionary.MergedDictionaries>
 
 
-    <!-- General -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemePanelBorderBrush" Color="#3F3F46" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeTabBackground" Color="#252526" />
-
-    <!-- Auto Hide : Tab -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabDefaultBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabDefaultBorder" Color="#3F3F46" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabDefaultText" Color="#D0D0D0" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabHoveredBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabHoveredBorder" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeAutoHideTabHoveredText" Color="#0097FB" />
-
-    <!-- Document Well : Overflow Button -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonDefaultGlyph" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonHoveredBackground" Color="#3E3E40" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonHoveredBorder" Color="#3E3E40" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonHoveredGlyph" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonPressedBackground" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonPressedBorder" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellOverflowButtonPressedGlyph" Color="#FFFFFF" />
-
-    <!-- Document Well : Tab -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabSelectedActiveBackground" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabSelectedActiveText" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabSelectedInactiveBackground" Color="#3F3F46" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabSelectedInactiveText" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabUnselectedBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabUnselectedText" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabUnselectedHoveredBackground" Color="#1C97EA" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabUnselectedHoveredText" Color="#FFFFFF" />
-
-    <!-- Document Well : Tab : Button -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActiveGlyph" Color="#D0E6F5" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBackground" Color="#1C97EA" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredBorder" Color="#1C97EA" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActiveHoveredGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBackground" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedBorder" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedActivePressedGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveGlyph" Color="#6D6D70" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBackground" Color="#555555" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredBorder" Color="#555555" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactiveHoveredGlyph" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBackground" Color="#1B1B1C" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedBorder" Color="#1B1B1C" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonSelectedInactivePressedGlyph" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredGlyph" Color="#D0E6F5" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground" Color="#52B0EF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder" Color="#52B0EF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeDocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph" Color="#FFFFFF" />
-
-    <!-- Tool Window : Caption -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionActiveBackground" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionActiveGrip" Color="#59A8DE" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionActiveText" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionInactiveBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionInactiveGrip" Color="#46464A" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionInactiveText" Color="#D0D0D0" />
-
-    <!-- Tool Window : Caption : Button -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActiveGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBackground" Color="#52B0EF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredBorder" Color="#52B0EF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActiveHoveredGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActivePressedBackground" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActivePressedBorder" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonActivePressedGlyph" Color="#FFFFFF" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactiveGlyph" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBackground" Color="#393939" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredBorder" Color="#393939" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactiveHoveredGlyph" Color="#F1F1F1" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactivePressedBackground" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactivePressedBorder" Color="#0E6198" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowCaptionButtonInactivePressedGlyph" Color="#FFFFFF" />
-
-    <!-- Tool Window : Tab -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabSelectedActiveBackground" Color="#252526" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabSelectedActiveText" Color="#0097FB" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabSelectedInactiveBackground" Color="#252526" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabSelectedInactiveText" Color="#0097FB" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabUnselectedBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabUnselectedText" Color="#D0D0D0" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabUnselectedHoveredBackground" Color="#3E3E40" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeToolWindowTabUnselectedHoveredText" Color="#55AAFF" />
-
-    <!-- Floating Document Window -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeFloatingDocumentWindowBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeFloatingDocumentWindowBorder" Color="#3F3F46" />
-
-    <!-- Floating Tool Window -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeFloatingToolWindowBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeFloatingToolWindowBorder" Color="#3F3F46" />
-
-    <!-- Navigator Window -->
-    <SolidColorBrush x:Key="PixiEditorDockThemeNavigatorWindowBackground" Color="#2D2D30" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeNavigatorWindowSelectedBackground" Color="#007ACC" />
-    <SolidColorBrush x:Key="PixiEditorDockThemeNavigatorWindowSelectedText" Color="#FFFFFF" />
 </ResourceDictionary>
 </ResourceDictionary>

+ 2505 - 0
PixiEditor/Styles/AvalonDock/Themes/Generic.xaml

@@ -0,0 +1,2505 @@
+<!--
+	************************************************************************
+	AvalonDock
+	
+	Copyright (C) 2007-2013 Xceed Software Inc.
+	
+	This program is provided to you under the terms of the Microsoft Public
+	License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
+	************************************************************************
+-->
+
+<ResourceDictionary
+	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+	xmlns:avalonDock="clr-namespace:AvalonDock;assembly=AvalonDock"
+	xmlns:avalonDockControls="clr-namespace:AvalonDock.Controls;assembly=AvalonDock"
+	xmlns:avalonDockConverters="clr-namespace:AvalonDock.Converters;assembly=AvalonDock"
+	xmlns:avalonDockProperties="clr-namespace:AvalonDock.Properties;assembly=AvalonDock"
+	xmlns:reskeys="clr-namespace:PixiEditor.Styles.AvalonDock.Themes"
+	xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=AvalonDock">
+	<ResourceDictionary.MergedDictionaries>
+		<ResourceDictionary Source="/Styles/AvalonDock/OverlayButtons.xaml" />
+        <ResourceDictionary Source="/Styles/AvalonDock/Themes/Menu/MenuItem.xaml" />
+		<ResourceDictionary Source="/Styles/AvalonDock/Themes/Icons/IconGeometry.xaml" />
+	</ResourceDictionary.MergedDictionaries>
+
+	<Style x:Key="DropDownControlArea" TargetType="avalonDockControls:DropDownControlArea" />
+
+	<!--
+	dirkster99: Removing this ToolTip style:
+	1) As it does not appear to add any additional value?
+	2) As it overwrites other Tooltip styles (eg using MLib in Edi or Aehnlich)
+	
+	<Style TargetType="ToolTip">
+        <Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.Background}}" />
+        <Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}" />
+        <Setter Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}" />
+        <Setter Property="BorderThickness" Value="1" />
+        <Setter Property="MaxWidth" Value="246" />
+        <Setter Property="Template">
+            <Setter.Value>
+                <ControlTemplate TargetType="ToolTip">
+                    <Border
+						Padding="5"
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}"
+						CornerRadius="2"
+						SnapsToDevicePixels="True"
+						Style="{DynamicResource DarkBorder}">
+                        <TextBlock
+							Margin="0"
+							HorizontalAlignment="Left"
+							VerticalAlignment="Center"
+							Background="Transparent"
+							FontFamily="{TemplateBinding FontFamily}"
+							FontSize="{TemplateBinding FontSize}"
+							Foreground="{TemplateBinding Foreground}"
+							Text="{TemplateBinding Content}"
+							TextWrapping="Wrap" />
+                    </Border>
+                </ControlTemplate>
+            </Setter.Value>
+        </Setter>
+    </Style>	-->
+
+	<!--
+		Re-styling this in AvalonDock since the menu on the drop-down button for more documents is otherwise black
+		BugFix for Issue http://avalondock.codeplex.com/workitem/15743
+	-->
+	<Style x:Key="PixiEditorDockThemeMenuItemStyle" BasedOn="{StaticResource {x:Type MenuItem}}" TargetType="{x:Type MenuItem}">
+		<Setter Property="HeaderTemplate" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplate}" />
+		<Setter Property="HeaderTemplateSelector" Value="{Binding Path=Root.Manager.DocumentPaneMenuItemHeaderTemplateSelector}" />
+		<Setter Property="BorderThickness" Value="0" />
+		<Setter Property="Template" Value="{StaticResource MLibMenuItem}" />
+	</Style>
+
+	<Style BasedOn="{StaticResource PixiEditorDockThemeMenuItemStyle}" TargetType="{x:Type avalonDockControls:MenuItemEx}">
+		<Setter Property="IconTemplate" Value="{Binding Path=Root.Manager.IconContentTemplate}" />
+		<Setter Property="IconTemplateSelector" Value="{Binding Path=Root.Manager.IconContentTemplateSelector}" />
+		<Setter Property="Command" Value="{Binding Path=., Converter={avalonDockConverters:ActivateCommandLayoutItemFromLayoutModelConverter}}" />
+		<!--
+			Retemplate ControlTemplate of MenuItem to get rid of blue'ish highlighting colors on menu item
+			https://stackoverflow.com/questions/34888636/change-background-color-of-menuitem-on-mouseover
+		-->
+	</Style>
+
+	<!--
+	dirkster99: Removing this ContextMenu style:
+	1) As it does not appear to add any additional value?
+	2) As it overwrites other ContextMenu styles (eg using MLib in Edi or Aehnlich)
+	<Style BasedOn="{StaticResource {x:Type ContextMenu}}" TargetType="{x:Type ContextMenu}">
+		<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.Background}}" />
+		<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}" />
+		<Setter Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}" />
+		<Setter Property="BorderThickness" Value="1" />
+		<Setter Property="VerticalContentAlignment" Value="Center" />
+		<Setter Property="Padding" Value="0,6,0,6" />
+		<Setter Property="Grid.IsSharedSizeScope" Value="true" />
+		<Setter Property="ScrollViewer.PanningMode" Value="Both" />
+		<Setter Property="Stylus.IsFlicksEnabled" Value="False" />
+		<Setter Property="Focusable" Value="False" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type ContextMenu}">
+					<Grid Margin="4">
+						<Border
+							x:Name="ContextMenuBorder"
+							Margin="0"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="1">
+							<ScrollViewer Name="ContextMenuScrollViewer" ScrollViewer.VerticalScrollBarVisibility="Auto">
+								<Grid RenderOptions.ClearTypeHint="Enabled">
+									<Canvas
+										Width="0"
+										Height="0"
+										HorizontalAlignment="Left"
+										VerticalAlignment="Top">
+										<Rectangle
+											Name="OpaqueRect"
+											Width="{Binding ElementName=ContextMenuBorder, Path=ActualWidth}"
+											Height="{Binding ElementName=ContextMenuBorder, Path=ActualHeight}"
+											Fill="{Binding ElementName=ContextMenuBorder, Path=Background}" />
+									</Canvas>
+									<ItemsPresenter
+										Name="ItemsPresenter"
+										KeyboardNavigation.DirectionalNavigation="Contained"
+										SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+								</Grid>
+							</ScrollViewer>
+						</Border>
+					</Grid>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+	-->
+
+	<Style BasedOn="{StaticResource {x:Type ContextMenu}}" TargetType="{x:Type avalonDockControls:ContextMenuEx}" />
+	<Style x:Key="PixiEditorDockThemeToolButtonStyle" TargetType="ToggleButton">
+		<Setter Property="Background" Value="Transparent" />
+		<Setter Property="BorderThickness" Value="1" />
+		<Setter Property="BorderBrush" Value="Transparent" />
+		<Setter Property="Padding" Value="0" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="ToggleButton">
+					<Border
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}">
+						<ContentPresenter />
+					</Border>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+
+		<Style.Triggers>
+			<Trigger Property="IsMouseOver" Value="True">
+				<!--<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor31}" />
+                <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor10}" />-->
+			</Trigger>
+			<Trigger Property="IsChecked" Value="True">
+				<!--<Setter Property="BorderBrush" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor31}" />
+                <Setter Property="Background" Value="{DynamicResource AvalonDock_ThemeMetro_BaseColor10}" />-->
+			</Trigger>
+		</Style.Triggers>
+	</Style>
+
+	<Style x:Key="PixiEditorDockThemeButtonStyle" TargetType="Button">
+		<Setter Property="Background" Value="Transparent" />
+		<Setter Property="BorderThickness" Value="1" />
+		<Setter Property="BorderBrush" Value="Transparent" />
+		<Setter Property="Padding" Value="0" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="Button">
+					<Border
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}">
+						<ContentPresenter />
+					</Border>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<!--  DocumentPaneControlStyle  -->
+	<Style x:Key="PixiEditorDockThemeDocumentPaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}">
+		<Setter Property="BorderBrush" Value="{x:Null}" />
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.TabBackground}}" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentPaneControl}">
+					<Grid
+						ClipToBounds="true"
+						KeyboardNavigation.TabNavigation="Local"
+						SnapsToDevicePixels="true">
+						<Grid.RowDefinitions>
+							<RowDefinition Height="Auto" />
+							<RowDefinition Height="*" />
+						</Grid.RowDefinitions>
+						<!--  Following border is required to catch mouse events  -->
+						<Border Grid.RowSpan="2" Background="Transparent" />
+						<Grid
+							Grid.Row="0"
+							Panel.ZIndex="1"
+							Visibility="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type avalonDockControls:LayoutDocumentPaneControl}}, Path=Model.ShowHeader, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+							<Grid.ColumnDefinitions>
+								<ColumnDefinition />
+								<ColumnDefinition Width="Auto" />
+							</Grid.ColumnDefinitions>
+							<Border
+								x:Name="BD"
+								Grid.ColumnSpan="2"
+								BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveBackground}}"
+								BorderThickness="0,0,0,2" />
+							<avalonDockControls:DocumentPaneTabPanel
+								x:Name="HeaderPanel"
+								Grid.Row="0"
+								Grid.Column="0"
+								Margin="0"
+								IsItemsHost="true"
+								KeyboardNavigation.TabIndex="1" />
+							<avalonDockControls:DropDownButton
+								x:Name="MenuDropDownButton"
+								Grid.Column="1"
+								VerticalAlignment="Center"
+								Focusable="False"
+								Style="{StaticResource PixiEditorDockThemeToolButtonStyle}">
+								<avalonDockControls:DropDownButton.DropDownContextMenu>
+									<avalonDockControls:ContextMenuEx ItemsSource="{Binding Model.ChildrenSorted, RelativeSource={RelativeSource TemplatedParent}}" />
+								</avalonDockControls:DropDownButton.DropDownContextMenu>
+								<Path
+									x:Name="MenuDropDownButtonImage"
+									Width="10"
+									Height="10"
+									HorizontalAlignment="Center"
+									VerticalAlignment="Center"
+									Data="{DynamicResource PinDocMenu}"
+									Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonDefaultGlyph}}"
+									Stretch="Uniform" />
+							</avalonDockControls:DropDownButton>
+						</Grid>
+						<Border
+							x:Name="ContentPanel"
+							Grid.Row="1"
+							Grid.Column="0"
+							HorizontalAlignment="Stretch"
+							VerticalAlignment="Stretch"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}"
+							BorderThickness="1,0,1,1"
+							KeyboardNavigation.DirectionalNavigation="Contained"
+							KeyboardNavigation.TabIndex="2"
+							KeyboardNavigation.TabNavigation="Cycle">
+							<ContentPresenter
+								x:Name="PART_SelectedContentHost"
+								Margin="0"
+								ContentSource="SelectedContent"
+								SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+						</Border>
+					</Grid>
+					<ControlTemplate.Triggers>
+						<Trigger SourceName="MenuDropDownButton" Property="IsMouseOver" Value="True">
+							<Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredBackground}}" />
+							<Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredBorder}}" />
+							<Setter TargetName="MenuDropDownButtonImage" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonHoveredGlyph}}" />
+						</Trigger>
+
+						<Trigger SourceName="MenuDropDownButton" Property="IsChecked" Value="True">
+							<Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedBackground}}" />
+							<Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedBorder}}" />
+							<Setter TargetName="MenuDropDownButtonImage" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellOverflowButtonPressedGlyph}}" />
+						</Trigger>
+
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding SelectedItem.IsActive, RelativeSource={RelativeSource Self}}" Value="False" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="BD" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveBackground}}" />
+						</MultiDataTrigger>
+
+						<Trigger Property="IsEnabled" Value="false">
+							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
+						</Trigger>
+
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Model.ChildrenCount}" Value="0">
+							<Setter TargetName="BD" Property="BorderBrush" Value="Transparent" />
+							<Setter TargetName="ContentPanel" Property="Visibility" Value="Collapsed" />
+							<Setter TargetName="MenuDropDownButton" Property="Visibility" Value="Collapsed" />
+						</DataTrigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+		<Setter Property="ItemContainerStyle">
+			<Setter.Value>
+				<Style TargetType="{x:Type TabItem}">
+					<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
+					<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedBackground}}" />
+					<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedText}}" />
+					<Setter Property="BorderBrush" Value="Transparent" />
+					<Setter Property="ToolTip" Value="{Binding ToolTip}" />
+					<Setter Property="Padding" Value="6,1" />
+					<Setter Property="Margin" Value="0" />
+					<Setter Property="Template">
+						<Setter.Value>
+							<ControlTemplate TargetType="{x:Type TabItem}">
+								<Grid SnapsToDevicePixels="true">
+									<Border
+										x:Name="Bd"
+										Background="{TemplateBinding Background}"
+										BorderBrush="{Binding Background, RelativeSource={RelativeSource Self}}"
+										BorderThickness="0,0,0,2" />
+									<ContentPresenter
+										x:Name="Content"
+										HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
+										VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
+										ContentSource="Header"
+										RecognizesAccessKey="True"
+										SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+								</Grid>
+								<ControlTemplate.Triggers>
+									<Trigger Property="Selector.IsSelected" Value="true">
+										<Setter Property="Panel.ZIndex" Value="1" />
+									</Trigger>
+
+									<!--  Document Well : Tab / Selected, active  -->
+									<DataTrigger Binding="{Binding IsActive}" Value="True">
+										<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveText}}" />
+										<Setter Property="Panel.ZIndex" Value="1" />
+									</DataTrigger>
+
+									<!--  Document Well : Tab / Selected, inactive  -->
+									<MultiDataTrigger>
+										<MultiDataTrigger.Conditions>
+											<Condition Binding="{Binding IsActive}" Value="False" />
+											<Condition Binding="{Binding IsSelected}" Value="True" />
+										</MultiDataTrigger.Conditions>
+										<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveText}}" />
+									</MultiDataTrigger>
+
+									<!--  Document Well : Tab / Unselected  -->
+									<MultiDataTrigger>
+										<MultiDataTrigger.Conditions>
+											<Condition Binding="{Binding IsActive}" Value="False" />
+											<Condition Binding="{Binding IsSelected}" Value="False" />
+										</MultiDataTrigger.Conditions>
+										<Setter TargetName="Bd" Property="BorderBrush" Value="Transparent" />
+									</MultiDataTrigger>
+
+									<!--  Document Well : Tab / Unselected, hovered  -->
+									<MultiTrigger>
+										<MultiTrigger.Conditions>
+											<Condition Property="IsMouseOver" Value="true" />
+											<Condition Property="Selector.IsSelected" Value="false" />
+										</MultiTrigger.Conditions>
+										<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedHoveredBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabUnselectedHoveredText}}" />
+										<Setter Property="Panel.ZIndex" Value="0" />
+									</MultiTrigger>
+
+									<Trigger Property="IsEnabled" Value="false">
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
+									</Trigger>
+								</ControlTemplate.Triggers>
+							</ControlTemplate>
+						</Setter.Value>
+					</Setter>
+				</Style>
+			</Setter.Value>
+		</Setter>
+		<Setter Property="ItemTemplate">
+			<Setter.Value>
+				<DataTemplate>
+					<avalonDockControls:LayoutDocumentTabItem Model="{Binding}" />
+				</DataTemplate>
+			</Setter.Value>
+		</Setter>
+
+		<Setter Property="ContentTemplate">
+			<Setter.Value>
+				<DataTemplate>
+					<avalonDockControls:LayoutDocumentControl Model="{Binding}" />
+				</DataTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<!--  AnchorablePaneControlStyle  -->
+	<Style x:Key="PixiEditorDockThemeAnchorablePaneControlStyle" TargetType="{x:Type avalonDockControls:LayoutAnchorablePaneControl}">
+		<Setter Property="TabStripPlacement" Value="Bottom" />
+		<Setter Property="Padding" Value="0" />
+		<Setter Property="BorderThickness" Value="0" />
+		<Setter Property="Foreground" Value="{Binding Model.Root.Manager.Foreground, RelativeSource={RelativeSource Self}}" />
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.TabBackground}}" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorablePaneControl}">
+					<Grid
+						ClipToBounds="true"
+						KeyboardNavigation.TabNavigation="Local"
+						SnapsToDevicePixels="true">
+						<Grid.RowDefinitions>
+							<RowDefinition Height="*" />
+							<RowDefinition Height="Auto" />
+						</Grid.RowDefinitions>
+						<!--  Following border is required to catch mouse events  -->
+						<Border Grid.RowSpan="2" Background="Transparent" />
+						<Border
+							x:Name="ContentPanel"
+							Grid.Row="0"
+							Grid.Column="0"
+							Margin="0"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}"
+							BorderThickness="1"
+							KeyboardNavigation.DirectionalNavigation="Contained"
+							KeyboardNavigation.TabIndex="2"
+							KeyboardNavigation.TabNavigation="Cycle">
+							<ContentPresenter
+								x:Name="PART_SelectedContentHost"
+								Margin="{TemplateBinding Padding}"
+								ContentSource="SelectedContent"
+								SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+						</Border>
+						<avalonDockControls:AnchorablePaneTabPanel
+							x:Name="HeaderPanel"
+							Grid.Row="1"
+							Margin="0"
+							Panel.ZIndex="1"
+							IsItemsHost="true"
+							KeyboardNavigation.TabIndex="1" />
+					</Grid>
+					<ControlTemplate.Triggers>
+						<Trigger Property="IsEnabled" Value="false">
+							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
+						</Trigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+
+		<Setter Property="ItemContainerStyle">
+			<Setter.Value>
+				<Style TargetType="{x:Type TabItem}">
+					<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedBackground}}" />
+					<Setter Property="BorderBrush" Value="Transparent" />
+					<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedText}}" />
+					<Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}" />
+					<Setter Property="ToolTip" Value="{Binding ToolTip}" />
+					<Setter Property="Template">
+						<Setter.Value>
+							<ControlTemplate TargetType="{x:Type TabItem}">
+								<Grid SnapsToDevicePixels="true">
+									<Border
+										x:Name="SelectedBD"
+										Margin="1,-1,1,0"
+										BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabSelectedActiveBackground}}"
+										BorderThickness="0,1,0,0"
+										Visibility="Collapsed" />
+									<Border
+										x:Name="Bd"
+										Margin="0"
+										Background="{TemplateBinding Background}"
+										BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}">
+										<ContentPresenter
+											x:Name="Content"
+											Margin="6,2"
+											HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
+											VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"
+											ContentSource="Header"
+											RecognizesAccessKey="True"
+											SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+									</Border>
+								</Grid>
+								<ControlTemplate.Triggers>
+									<Trigger Property="Selector.IsSelected" Value="true">
+										<Setter TargetName="SelectedBD" Property="Visibility" Value="Visible" />
+										<Setter TargetName="Bd" Property="BorderThickness" Value="1,0,1,1" />
+										<Setter Property="Panel.ZIndex" Value="1" />
+									</Trigger>
+
+									<!--  Tool Window : Tab / Selected, active  -->
+									<MultiDataTrigger>
+										<MultiDataTrigger.Conditions>
+											<Condition Binding="{Binding IsSelected}" Value="True" />
+											<Condition Binding="{Binding IsActive}" Value="True" />
+										</MultiDataTrigger.Conditions>
+										<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabSelectedActiveBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabSelectedActiveText}}" />
+									</MultiDataTrigger>
+
+									<!--  Tool Window : Tab / Selected, inactive  -->
+									<MultiDataTrigger>
+										<MultiDataTrigger.Conditions>
+											<Condition Binding="{Binding IsSelected}" Value="True" />
+											<Condition Binding="{Binding IsActive}" Value="False" />
+										</MultiDataTrigger.Conditions>
+										<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabSelectedInactiveBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabSelectedInactiveText}}" />
+									</MultiDataTrigger>
+
+									<!--  Tool Window : Tab / Unselected, hovered  -->
+									<MultiTrigger>
+										<MultiTrigger.Conditions>
+											<Condition Property="IsMouseOver" Value="true" />
+											<Condition Property="Selector.IsSelected" Value="false" />
+										</MultiTrigger.Conditions>
+										<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedHoveredBackground}}" />
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowTabUnselectedHoveredText}}" />
+										<Setter Property="Panel.ZIndex" Value="0" />
+									</MultiTrigger>
+
+									<Trigger Property="IsEnabled" Value="false">
+										<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
+									</Trigger>
+								</ControlTemplate.Triggers>
+							</ControlTemplate>
+						</Setter.Value>
+					</Setter>
+					<Style.Triggers>
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type TabControl}}, Path=Items.Count}" Value="1">
+							<Setter Property="Visibility" Value="Collapsed" />
+						</DataTrigger>
+					</Style.Triggers>
+				</Style>
+			</Setter.Value>
+		</Setter>
+
+		<Setter Property="ItemTemplate">
+			<Setter.Value>
+				<DataTemplate>
+					<avalonDockControls:LayoutAnchorableTabItem Model="{Binding}" />
+				</DataTemplate>
+			</Setter.Value>
+		</Setter>
+
+		<Setter Property="ContentTemplate">
+			<Setter.Value>
+				<DataTemplate>
+					<avalonDockControls:LayoutAnchorableControl Model="{Binding}" />
+				</DataTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style TargetType="avalonDockControls:AnchorablePaneTitle">
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveBackground}}" />
+		<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveText}}" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate>
+					<Border
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}">
+						<Grid Margin="2,3">
+							<Grid.ColumnDefinitions>
+								<ColumnDefinition Width="*" />
+								<ColumnDefinition Width="Auto" />
+								<ColumnDefinition Width="Auto" />
+								<ColumnDefinition Width="Auto" />
+							</Grid.ColumnDefinitions>
+							<Rectangle
+								x:Name="DragHandleGeometryPlaceholder"
+								Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveGrip}}"
+								Visibility="Collapsed" />
+							<Rectangle
+								x:Name="DragHandleTexture"
+								Height="5"
+								Margin="8,0,4,0"
+								VerticalAlignment="Center">
+								<Rectangle.Fill>
+									<DrawingBrush
+										TileMode="Tile"
+										Viewbox="0,0,4,5"
+										ViewboxUnits="Absolute"
+										Viewport="0,0,4,5"
+										ViewportUnits="Absolute">
+										<DrawingBrush.Drawing>
+											<GeometryDrawing Brush="{Binding Fill, ElementName=DragHandleGeometryPlaceholder, Mode=OneWay, Converter={avalonDockConverters:NullToDoNothingConverter}}">
+												<GeometryDrawing.Geometry>
+													<GeometryGroup>
+														<GeometryGroup.Children>
+															<RectangleGeometry Rect="0,0,1,1" />
+															<RectangleGeometry Rect="0,4,1,1" />
+															<RectangleGeometry Rect="2,2,1,1" />
+														</GeometryGroup.Children>
+													</GeometryGroup>
+												</GeometryDrawing.Geometry>
+											</GeometryDrawing>
+										</DrawingBrush.Drawing>
+									</DrawingBrush>
+								</Rectangle.Fill>
+							</Rectangle>
+							<Border
+								Padding="5,0"
+								HorizontalAlignment="Left"
+								Background="{TemplateBinding Background}">
+								<avalonDockControls:DropDownControlArea
+									DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
+									DropDownContextMenuDataContext="{Binding Path=LayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+									Style="{DynamicResource DropDownControlArea}">
+									<ContentPresenter
+										x:Name="Header"
+										Margin="2,0,0,0"
+										Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}"
+										ContentTemplate="{Binding Model.Root.Manager.AnchorableTitleTemplate, RelativeSource={RelativeSource TemplatedParent}}"
+										ContentTemplateSelector="{Binding Model.Root.Manager.AnchorableTitleTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}"
+										TextElement.Foreground="{TemplateBinding Foreground}" />
+								</avalonDockControls:DropDownControlArea>
+							</Border>
+							<avalonDockControls:DropDownButton
+								x:Name="MenuDropDownButton"
+								Grid.Column="1"
+								Margin="2,0"
+								VerticalAlignment="Center"
+								DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
+								DropDownContextMenuDataContext="{Binding Path=LayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+								Focusable="False"
+								Style="{StaticResource PixiEditorDockThemeToolButtonStyle}"
+								ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}">
+								<Path
+									x:Name="PART_ImgMenuPin"
+									Width="10"
+									Height="13"
+									Data="{DynamicResource PinMenu}"
+									Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}}"
+									Stretch="Uniform" />
+							</avalonDockControls:DropDownButton>
+
+							<Button
+								x:Name="PART_AutoHidePin"
+								Grid.Column="2"
+								Margin="2,0"
+								HorizontalAlignment="Center"
+								VerticalAlignment="Center"
+								Command="{Binding Path=LayoutItem.AutoHideCommand, RelativeSource={RelativeSource TemplatedParent}}"
+								Focusable="False"
+								Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+								ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnAutoHide_Hint}"
+								Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+								<Path
+									x:Name="PART_ImgAutoHidePin"
+									Width="10"
+									Height="13"
+									Data="{DynamicResource PinAutoHide}"
+									Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}}"
+									Stretch="Uniform" />
+							</Button>
+							<Button
+								x:Name="PART_HidePin"
+								Grid.Column="3"
+								Margin="2,0"
+								HorizontalAlignment="Center"
+								VerticalAlignment="Center"
+								Command="{Binding Path=LayoutItem.HideCommand, RelativeSource={RelativeSource TemplatedParent}}"
+								Focusable="False"
+								Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+								ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}"
+								Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+								<Path
+									x:Name="PART_ImgHidePin"
+									Width="10"
+									Height="10"
+									VerticalAlignment="Center"
+									Data="{DynamicResource PinClose}"
+									Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}}"
+									Stretch="Uniform" />
+							</Button>
+
+						</Grid>
+					</Border>
+					<ControlTemplate.Triggers>
+						<DataTrigger Binding="{Binding Model.IsAutoHidden, RelativeSource={RelativeSource Mode=Self}}" Value="True">
+							<Setter TargetName="PART_AutoHidePin" Property="LayoutTransform">
+								<Setter.Value>
+									<RotateTransform Angle="90" />
+								</Setter.Value>
+							</Setter>
+						</DataTrigger>
+
+						<DataTrigger Binding="{Binding Model.CanClose, RelativeSource={RelativeSource Mode=Self}}" Value="True">
+							<Setter TargetName="PART_HidePin" Property="Command" Value="{Binding Path=LayoutItem.CloseCommand, RelativeSource={RelativeSource TemplatedParent}}" />
+							<Setter TargetName="PART_HidePin" Property="ToolTip" Value="{x:Static avalonDockProperties:Resources.Document_Close}" />
+						</DataTrigger>
+
+						<!--  Tool Window : Caption / Active  -->
+						<DataTrigger Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True">
+							<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveBackground}}" />
+							<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveText}}" />
+							<Setter TargetName="DragHandleGeometryPlaceholder" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveGrip}}" />
+						</DataTrigger>
+
+						<!--  Tool Window : Caption : Button / Active  -->
+						<DataTrigger Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True">
+							<Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveGlyph}}" />
+							<Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveGlyph}}" />
+							<Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveGlyph}}" />
+						</DataTrigger>
+
+						<!--  Tool Window : Caption : Button / Active, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=MenuDropDownButton}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBackground}}" />
+							<Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_AutoHidePin}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBackground}}" />
+							<Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_HidePin}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBackground}}" />
+							<Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Tool Window : Caption : Button / Inactive, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=MenuDropDownButton}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBackground}}" />
+							<Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_AutoHidePin}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_HidePin}" Value="True" />
+								<Condition Binding="{Binding Model.IsActive, RelativeSource={RelativeSource Mode=Self}}" Value="False" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Tool Window : Caption : Button / Active / Inactive, pressed  -->
+						<Trigger SourceName="MenuDropDownButton" Property="IsChecked" Value="True">
+							<Setter TargetName="MenuDropDownButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBackground}}" />
+							<Setter TargetName="MenuDropDownButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgMenuPin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedGlyph}}" />
+						</Trigger>
+						<Trigger SourceName="PART_AutoHidePin" Property="IsMouseCaptured" Value="True">
+							<Setter TargetName="PART_AutoHidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBackground}}" />
+							<Setter TargetName="PART_AutoHidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgAutoHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedGlyph}}" />
+						</Trigger>
+						<Trigger SourceName="PART_HidePin" Property="IsMouseCaptured" Value="True">
+							<Setter TargetName="PART_HidePin" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBackground}}" />
+							<Setter TargetName="PART_HidePin" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgHidePin" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonActivePressedGlyph}}" />
+						</Trigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<ControlTemplate x:Key="PixiEditorDockThemeAnchorSideTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorSideControl}">
+		<ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Children}">
+			<ItemsControl.ItemsPanel>
+				<ItemsPanelTemplate>
+					<StackPanel
+						MinWidth="4"
+						MinHeight="4"
+						Orientation="{Binding Path=Model.Side, RelativeSource={RelativeSource AncestorType={x:Type avalonDockControls:LayoutAnchorSideControl}, Mode=FindAncestor}, Converter={avalonDockConverters:AnchorSideToOrientationConverter}}" />
+				</ItemsPanelTemplate>
+			</ItemsControl.ItemsPanel>
+		</ItemsControl>
+	</ControlTemplate>
+
+	<ControlTemplate x:Key="PixiEditorDockThemeAnchorGroupTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorGroupControl}">
+		<ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Children}">
+			<ItemsControl.LayoutTransform>
+				<RotateTransform Angle="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Model.Parent.Side, Converter={avalonDockConverters:AnchorSideToAngleConverter}}" />
+			</ItemsControl.LayoutTransform>
+			<ItemsControl.ItemsPanel>
+				<ItemsPanelTemplate>
+					<StackPanel Orientation="Horizontal" />
+				</ItemsPanelTemplate>
+			</ItemsControl.ItemsPanel>
+		</ItemsControl>
+	</ControlTemplate>
+
+	<ControlTemplate x:Key="PixiEditorDockThemeAnchorTemplate" TargetType="{x:Type avalonDockControls:LayoutAnchorControl}">
+		<Border
+			x:Name="Bd"
+			Margin="0,0,12,0"
+			Padding="0,3,0,3"
+			Background="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabDefaultBackground}}"
+			BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabDefaultBorder}}"
+			BorderThickness="0,0,0,6"
+			TextElement.Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabDefaultText}}">
+			<ContentPresenter
+				Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}"
+				ContentTemplate="{Binding AnchorableHeaderTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+				ContentTemplateSelector="{Binding AnchorableHeaderTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}" />
+		</Border>
+		<ControlTemplate.Triggers>
+			<Trigger Property="Side" Value="Right">
+				<Setter TargetName="Bd" Property="BorderThickness" Value="0,6,0,0" />
+				<Setter TargetName="Bd" Property="Padding" Value="0,3,0,3" />
+			</Trigger>
+
+			<Trigger Property="Side" Value="Top">
+				<Setter TargetName="Bd" Property="BorderThickness" Value="0,6,0,0" />
+				<Setter TargetName="Bd" Property="Padding" Value="0,3,0,3" />
+			</Trigger>
+
+			<Trigger Property="IsMouseOver" Value="True">
+				<Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabHoveredBackground}}" />
+				<Setter TargetName="Bd" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabHoveredBorder}}" />
+				<Setter TargetName="Bd" Property="TextElement.Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.AutoHideTabHoveredText}}" />
+			</Trigger>
+
+		</ControlTemplate.Triggers>
+	</ControlTemplate>
+
+	<Style x:Key="{x:Type avalonDockControls:OverlayWindow}" TargetType="{x:Type avalonDockControls:OverlayWindow}">
+		<Setter Property="UseLayoutRounding" Value="True" />
+		<Setter Property="Background" Value="Transparent" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:OverlayWindow}">
+					<Canvas x:Name="PART_DropTargetsContainer" Opacity="0.9">
+						<!--
+							Drop target rectangle that is displayed before a document or tool window
+							is dropped into a drop target location
+						-->
+						<Path
+							x:Name="PART_PreviewBox"
+							Fill="{DynamicResource {x:Static reskeys:ResourceKeys.PreviewBoxBackgroundBrushKey}}"
+							Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.PreviewBoxBorderBrushKey}}"
+							StrokeThickness="0.5" />
+
+						<!--
+							Outmost Outter 4 overlay buttons that are displayed at border of MainWindow
+							when user drags tool window over another tool window or document and the
+							AvalonDock air space contains additional document(s) and tool windows (s).
+						-->
+						<Grid x:Name="PART_DockingManagerDropTargets">
+							<ContentControl
+								x:Name="PART_DockingManagerDropTargetLeft"
+								Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+								Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+								Margin="10"
+								HorizontalAlignment="Left"
+								VerticalAlignment="Center"
+								HorizontalContentAlignment="Stretch"
+								VerticalContentAlignment="Stretch"
+								Background="Transparent"
+								BorderBrush="Transparent"
+								Content="{StaticResource DockAnchorableLeft}" />
+
+							<ContentControl
+								x:Name="PART_DockingManagerDropTargetRight"
+								Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+								Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+								Margin="10"
+								HorizontalAlignment="Right"
+								VerticalAlignment="Center"
+								HorizontalContentAlignment="Stretch"
+								VerticalContentAlignment="Stretch"
+								Background="Transparent"
+								BorderBrush="Transparent"
+								Content="{StaticResource DockAnchorableRight}" />
+
+							<ContentControl
+								x:Name="PART_DockingManagerDropTargetBottom"
+								Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+								Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+								Margin="10"
+								HorizontalAlignment="Center"
+								VerticalAlignment="Bottom"
+								HorizontalContentAlignment="Stretch"
+								VerticalContentAlignment="Stretch"
+								Background="Transparent"
+								BorderBrush="Transparent"
+								Content="{StaticResource DockAnchorableBottom}" />
+
+							<ContentControl
+								x:Name="PART_DockingManagerDropTargetTop"
+								Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+								Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+								Margin="10"
+								HorizontalAlignment="Center"
+								VerticalAlignment="Top"
+								HorizontalContentAlignment="Stretch"
+								VerticalContentAlignment="Stretch"
+								Background="Transparent"
+								BorderBrush="Transparent"
+								Content="{StaticResource DockAnchorableTop}" />
+
+						</Grid>
+
+						<!--
+							Is displayed as center cross with a max of 5 buttons when a toolwindow is
+							dragged over another tool window
+						-->
+						<Grid x:Name="PART_AnchorablePaneDropTargets">
+							<!--  Gray Star Background  -->
+							<Path
+								Height="122"
+								Data="{DynamicResource DockPaneEmpty}"
+								Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+								Stretch="Uniform"
+								Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBorderBrushKey}}"
+								StrokeThickness="1" />
+							<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
+								<Grid.ColumnDefinitions>
+									<ColumnDefinition />
+									<ColumnDefinition />
+									<ColumnDefinition />
+								</Grid.ColumnDefinitions>
+								<Grid.RowDefinitions>
+									<RowDefinition />
+									<RowDefinition />
+									<RowDefinition />
+								</Grid.RowDefinitions>
+								<!--  Inner 5 buttons of star shapped control  -->
+								<ContentControl
+									x:Name="PART_AnchorablePaneDropTargetTop"
+									Grid.Row="0"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableTop}" />
+								<ContentControl
+									x:Name="PART_AnchorablePaneDropTargetRight"
+									Grid.Row="1"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableRight}" />
+								<ContentControl
+									x:Name="PART_AnchorablePaneDropTargetBottom"
+									Grid.Row="2"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableBottom}" />
+								<ContentControl
+									x:Name="PART_AnchorablePaneDropTargetLeft"
+									Grid.Row="1"
+									Grid.Column="0"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableLeft}" />
+								<!--  Center button of star shapped control  -->
+								<ContentControl
+									x:Name="PART_AnchorablePaneDropTargetInto"
+									Grid.Row="1"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentInside}" />
+							</Grid>
+						</Grid>
+
+						<!--  Is displayed as center cross with a max of 5 buttons when documents are dragged over the document container.  -->
+						<Grid x:Name="PART_DocumentPaneDropTargets">
+
+							<!--  Gray Star Background  -->
+							<Path
+								Height="122"
+								Data="{DynamicResource DockPaneEmpty}"
+								Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+								Stretch="Uniform"
+								Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBorderBrushKey}}"
+								StrokeThickness="1" />
+
+							<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
+								<Grid.ColumnDefinitions>
+									<ColumnDefinition />
+									<ColumnDefinition />
+									<ColumnDefinition />
+								</Grid.ColumnDefinitions>
+								<Grid.RowDefinitions>
+									<RowDefinition />
+									<RowDefinition />
+									<RowDefinition />
+								</Grid.RowDefinitions>
+								<!--  Inner 5 buttons of star shapped control  -->
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetTop"
+									Grid.Row="0"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentTop}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetRight"
+									Grid.Row="1"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentRight}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetBottom"
+									Grid.Row="2"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentBottom}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetLeft"
+									Grid.Row="1"
+									Grid.Column="0"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentLeft}" />
+								<!--  Center button of star shapped control  -->
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetInto"
+									Grid.Row="1"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentInside}" />
+							</Grid>
+						</Grid>
+
+						<!--  Center star with a max of 9 buttons shown when tool window is dragged of document container  -->
+						<Grid x:Name="PART_DocumentPaneFullDropTargets">
+
+							<!--  Gray Star Background  -->
+							<Path
+								Width="204"
+								Data="{DynamicResource DockPaneLargeEmpty}"
+								Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBackgroundBrushKey}}"
+								Stretch="Uniform"
+								Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonStarBorderBrushKey}}"
+								StrokeThickness="1" />
+							<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
+								<Grid.ColumnDefinitions>
+									<ColumnDefinition />
+									<ColumnDefinition />
+									<ColumnDefinition />
+									<ColumnDefinition />
+									<ColumnDefinition />
+								</Grid.ColumnDefinitions>
+								<Grid.RowDefinitions>
+									<RowDefinition />
+									<RowDefinition />
+									<RowDefinition />
+									<RowDefinition />
+									<RowDefinition />
+								</Grid.RowDefinitions>
+								<!--  Inner 5 buttons of star shapped control  -->
+								<ContentControl
+									x:Name="PART_DocumentPaneFullDropTargetTop"
+									Grid.Row="1"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentTop}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneFullDropTargetRight"
+									Grid.Row="2"
+									Grid.Column="3"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentRight}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneFullDropTargetBottom"
+									Grid.Row="3"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentBottom}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneFullDropTargetLeft"
+									Grid.Row="2"
+									Grid.Column="1"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentLeft}" />
+								<!--  Center button of star shapped control  -->
+								<ContentControl
+									x:Name="PART_DocumentPaneFullDropTargetInto"
+									Grid.Row="2"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentInside}" />
+
+								<!--  Outer 4 buttons of star shapped control  -->
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetTopAsAnchorablePane"
+									Grid.Row="0"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableTop}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetRightAsAnchorablePane"
+									Grid.Row="2"
+									Grid.Column="4"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableRight}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetBottomAsAnchorablePane"
+									Grid.Row="4"
+									Grid.Column="2"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableBottom}" />
+								<ContentControl
+									x:Name="PART_DocumentPaneDropTargetLeftAsAnchorablePane"
+									Grid.Row="2"
+									Grid.Column="0"
+									Width="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonWidthKey}}"
+									Height="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonHeightKey}}"
+									HorizontalContentAlignment="Stretch"
+									VerticalContentAlignment="Stretch"
+									Background="Transparent"
+									BorderBrush="Transparent"
+									Content="{StaticResource DockDocumentAsAnchorableLeft}" />
+							</Grid>
+						</Grid>
+					</Canvas>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<DataTemplate x:Key="PixiEditorDockThemeDocumentHeaderTemplate">
+		<TextBlock Text="{Binding Title}" TextTrimming="CharacterEllipsis" />
+	</DataTemplate>
+
+	<DataTemplate x:Key="PixiEditorDockThemeAnchorableHeaderTemplate">
+		<TextBlock
+			Margin="5,0"
+			Text="{Binding Title}"
+			TextTrimming="CharacterEllipsis" />
+	</DataTemplate>
+
+	<DataTemplate x:Key="PixiEditorDockThemeDocumentTitleTemplate">
+		<TextBlock
+			VerticalAlignment="Center"
+			Text="{Binding Title}"
+			TextTrimming="CharacterEllipsis" />
+	</DataTemplate>
+
+	<DataTemplate x:Key="PixiEditorDockThemeAnchorableTitleTemplate">
+		<TextBlock
+			VerticalAlignment="Center"
+			Text="{Binding Title}"
+			TextTrimming="CharacterEllipsis" />
+	</DataTemplate>
+
+	<DataTemplate x:Key="PixiEditorDockThemeIconContentTemplate">
+		<Image Source="{Binding IconSource, Converter={avalonDockConverters:NullToDoNothingConverter}}" Stretch="Uniform" />
+	</DataTemplate>
+
+	<ContextMenu x:Key="PixiEditorDockThemeAnchorableContextMenu">
+		<MenuItem Command="{Binding Path=FloatCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_Float}" />
+		<MenuItem Command="{Binding Path=DockCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_Dock}" />
+		<MenuItem Command="{Binding Path=DockAsDocumentCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_DockAsDocument}" />
+		<MenuItem Command="{Binding Path=AutoHideCommand}" Header="{x:Static avalonDockProperties:Resources.Anchorable_AutoHide}" />
+		<MenuItem
+			Command="{Binding Path=HideCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Anchorable_Hide}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}" />
+	</ContextMenu>
+
+	<ContextMenu x:Key="PixiEditorDockThemeDocumentContextMenu">
+		<MenuItem
+			Command="{Binding Path=CloseCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Document_Close}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}" />
+		<MenuItem Command="{Binding Path=CloseAllButThisCommand}" Header="{x:Static avalonDockProperties:Resources.Document_CloseAllButThis}" />
+		<MenuItem Command="{Binding Path=CloseAllCommand}" Header="{x:Static avalonDockProperties:Resources.Document_CloseAll}" />
+		<MenuItem Command="{Binding Path=FloatCommand}" Header="{x:Static avalonDockProperties:Resources.Document_Float}" />
+		<MenuItem Command="{Binding Path=DockAsDocumentCommand}" Header="{x:Static avalonDockProperties:Resources.Document_DockAsDocument}" />
+		<MenuItem
+			Command="{Binding Path=NewHorizontalTabGroupCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Document_NewHorizontalTabGroup}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+			<MenuItem.Icon>
+				<Path
+					Width="14"
+					Height="14"
+					VerticalAlignment="Center"
+					Data="{DynamicResource HTabGroup}"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}}"
+					Stretch="Uniform" />
+			</MenuItem.Icon>
+		</MenuItem>
+
+		<MenuItem
+			Command="{Binding Path=NewVerticalTabGroupCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Document_NewVerticalTabGroup}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+			<MenuItem.Icon>
+				<Path
+					Width="14"
+					Height="14"
+					VerticalAlignment="Center"
+					Data="{DynamicResource VTabGroup}"
+					Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionButtonInactiveGlyph}}"
+					Stretch="Uniform" />
+			</MenuItem.Icon>
+		</MenuItem>
+		<MenuItem
+			Command="{Binding Path=MoveToNextTabGroupCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Document_MoveToNextTabGroup}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}" />
+		<MenuItem
+			Command="{Binding Path=MoveToPreviousTabGroupCommand}"
+			Header="{x:Static avalonDockProperties:Resources.Document_MoveToPreviousTabGroup}"
+			Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}" />
+	</ContextMenu>
+
+	<!--  DockingManager  -->
+	<Style x:Key="{x:Type avalonDock:DockingManager}" TargetType="{x:Type avalonDock:DockingManager}">
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.Background}}" />
+		<Setter Property="DocumentPaneControlStyle" Value="{StaticResource PixiEditorDockThemeDocumentPaneControlStyle}" />
+		<Setter Property="AnchorablePaneControlStyle" Value="{StaticResource PixiEditorDockThemeAnchorablePaneControlStyle}" />
+		<Setter Property="AnchorSideTemplate" Value="{StaticResource PixiEditorDockThemeAnchorSideTemplate}" />
+		<Setter Property="AnchorGroupTemplate" Value="{StaticResource PixiEditorDockThemeAnchorGroupTemplate}" />
+		<Setter Property="AnchorTemplate" Value="{StaticResource PixiEditorDockThemeAnchorTemplate}" />
+		<Setter Property="DocumentHeaderTemplate" Value="{StaticResource PixiEditorDockThemeDocumentHeaderTemplate}" />
+		<Setter Property="AnchorableHeaderTemplate" Value="{StaticResource PixiEditorDockThemeAnchorableHeaderTemplate}" />
+		<Setter Property="DocumentTitleTemplate" Value="{StaticResource PixiEditorDockThemeDocumentTitleTemplate}" />
+		<Setter Property="AnchorableTitleTemplate" Value="{StaticResource PixiEditorDockThemeAnchorableTitleTemplate}" />
+		<Setter Property="AnchorableContextMenu" Value="{StaticResource PixiEditorDockThemeAnchorableContextMenu}" />
+		<Setter Property="DocumentContextMenu" Value="{StaticResource PixiEditorDockThemeDocumentContextMenu}" />
+		<Setter Property="DocumentPaneMenuItemHeaderTemplate" Value="{StaticResource PixiEditorDockThemeDocumentHeaderTemplate}" />
+		<Setter Property="IconContentTemplate" Value="{StaticResource PixiEditorDockThemeIconContentTemplate}" />
+		<Setter Property="GridSplitterWidth" Value="6" />
+		<Setter Property="GridSplitterHeight" Value="6" />
+	</Style>
+
+	<!--  LayoutGridResizerControl  -->
+	<Style x:Key="{x:Type avalonDockControls:LayoutGridResizerControl}" TargetType="{x:Type avalonDockControls:LayoutGridResizerControl}">
+		<Setter Property="Background" Value="Transparent" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutGridResizerControl}">
+					<Border Background="Transparent" />
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style TargetType="{x:Type avalonDockControls:LayoutDocumentControl}">
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentControl}">
+					<Border
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}">
+						<ContentPresenter Content="{Binding LayoutItem.View, RelativeSource={RelativeSource TemplatedParent}}" />
+					</Border>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}">
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentTabItem}">
+					<avalonDockControls:DropDownControlArea
+						DropDownContextMenu="{Binding Root.Manager.DocumentContextMenu}"
+						DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+						Style="{DynamicResource DropDownControlArea}">
+						<Border
+							Margin="0,3,0,3"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}">
+							<Grid>
+								<Grid.ColumnDefinitions>
+									<ColumnDefinition Width="*" />
+									<ColumnDefinition Width="Auto" />
+								</Grid.ColumnDefinitions>
+								<Border Grid.ColumnSpan="2" Background="Transparent" />
+								<ContentPresenter
+									Margin="4,0"
+									Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}"
+									ContentTemplate="{Binding DocumentHeaderTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+									ContentTemplateSelector="{Binding DocumentHeaderTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+									TextBlock.Foreground="{Binding Foreground, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=TabItem}}" />
+								<!--  Close button should be moved out to the container style  -->
+								<Button
+									x:Name="DocumentCloseButton"
+									Grid.Column="1"
+									Width="15"
+									Margin="3,0"
+									HorizontalAlignment="Center"
+									VerticalAlignment="Center"
+									Command="{Binding Path=LayoutItem.CloseCommand, RelativeSource={RelativeSource TemplatedParent}}"
+									Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+									ToolTip="{x:Static avalonDockProperties:Resources.Document_Close}"
+									Visibility="Hidden">
+									<Path
+										x:Name="PART_ImgPinClose"
+										Width="10"
+										Height="10"
+										VerticalAlignment="Center"
+										Data="{DynamicResource PinClose}"
+										Fill="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveText}}"
+										Stretch="Uniform" />
+								</Button>
+							</Grid>
+						</Border>
+					</avalonDockControls:DropDownControlArea>
+					<ControlTemplate.Triggers>
+						<!--  Close button visibility  -->
+						<DataTrigger Binding="{Binding Path=IsSelected}" Value="true">
+							<Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
+						</DataTrigger>
+						<Trigger Property="IsMouseOver" Value="True">
+							<Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
+						</Trigger>
+						<DataTrigger Binding="{Binding Path=IsLastFocusedDocument}" Value="true">
+							<Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
+						</DataTrigger>
+						<DataTrigger Binding="{Binding Path=IsActive}" Value="true">
+							<Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Visible" />
+						</DataTrigger>
+						<!--BD: 17.08.2020 use HideCommand if CanClose=false but CanHide=true-->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+							<Condition Binding="{Binding Path=CanClose}" Value="false" />
+								<Condition Binding="{Binding Path=CanHide}" Value="true" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Command" Value="{Binding Path=LayoutItem.HideCommand, RelativeSource={RelativeSource TemplatedParent}}" />
+							<Setter TargetName="DocumentCloseButton" Property="ToolTip" Value="{x:Static avalonDockProperties:Resources.Anchorable_Hide}" />
+						</MultiDataTrigger>
+						<!--BD: 17.08.2020 hide button if both CanClose=false and CanHide=false-->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding Path=CanClose}" Value="false" />
+								<Condition Binding="{Binding Path=CanHide}" Value="false" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Visibility" Value="Collapsed" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive, pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active  -->
+						<DataTrigger Binding="{Binding IsActive}" Value="true">
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DockingButtonForegroundArrowBrushKey}}" />
+						</DataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Unselected, tab hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsActive}" Value="False" />
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
+								<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Unselected, tab hovered, button hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsActive}" Value="False" />
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
+								<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Unselected, tab hovered, button pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsActive}" Value="False" />
+								<Condition Binding="{Binding IsLastFocusedDocument}" Value="False" />
+								<Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource TemplatedParent}}" Value="True" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=DocumentCloseButton}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="DocumentCloseButton" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground}}" />
+							<Setter TargetName="DocumentCloseButton" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph}}" />
+						</MultiDataTrigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style TargetType="{x:Type avalonDockControls:LayoutAnchorableTabItem}">
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableTabItem}">
+					<avalonDockControls:DropDownControlArea
+						DropDownContextMenu="{Binding Root.Manager.AnchorableContextMenu}"
+						DropDownContextMenuDataContext="{Binding LayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+						Style="{DynamicResource DropDownControlArea}">
+						<Border
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="{TemplateBinding BorderThickness}">
+							<Grid>
+								<ContentPresenter
+									Content="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}"
+									ContentTemplate="{Binding AnchorableHeaderTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+									ContentTemplateSelector="{Binding AnchorableHeaderTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}" />
+								<avalonDockControls:DropDownControlArea
+									Grid.Column="0"
+									DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
+									DropDownContextMenuDataContext="{Binding Path=Model, RelativeSource={RelativeSource TemplatedParent}}" />
+							</Grid>
+						</Border>
+					</avalonDockControls:DropDownControlArea>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style TargetType="{x:Type avalonDockControls:LayoutAnchorableControl}">
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableControl}">
+					<Border
+						x:Name="Bd"
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}">
+						<Grid>
+							<Grid.RowDefinitions>
+								<RowDefinition Height="Auto" />
+								<RowDefinition Height="*" />
+							</Grid.RowDefinitions>
+							<Border x:Name="Header">
+								<avalonDockControls:AnchorablePaneTitle Model="{Binding Model, RelativeSource={RelativeSource TemplatedParent}}" />
+							</Border>
+							<!--
+								Added ContentTemplate and ContentTemplateSelector
+								https://github.com/xceedsoftware/wpftoolkit/issues/1525
+							-->
+							<ContentPresenter
+								Grid.Row="1"
+								Content="{Binding LayoutItem.View, RelativeSource={RelativeSource TemplatedParent}}"
+								ContentTemplate="{Binding LayoutItem.View.ContentTemplate, RelativeSource={RelativeSource TemplatedParent}}"
+								ContentTemplateSelector="{Binding LayoutItem.View.ContentTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}"
+								FlowDirection="{TemplateBinding FlowDirection}" />
+
+							<!--
+                                <ContentPresenter
+                                Content="{Binding Model.Content, RelativeSource={RelativeSource TemplatedParent}}"
+                                ContentTemplate="{Binding LayoutItemTemplate, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+                                ContentTemplateSelector="{Binding LayoutItemTemplateSelector, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type avalonDock:DockingManager}, Mode=FindAncestor}}"
+                                Grid.Row="1"/>
+							-->
+						</Grid>
+					</Border>
+					<ControlTemplate.Triggers>
+						<!--
+							Hide the title if the control is directly hosted in floating window
+							The floating window control will show the title if there is only one control to host
+							without any other LayoutAnchorableControl
+						-->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.IsFloating}" Value="True" />
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.Parent.IsDirectlyHostedInFloatingWindow}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="Header" Property="Visibility" Value="Collapsed" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<!--
+								Also hide the title, if model cannot be bound which can happen when using virtualization
+								See Issue #148 Drop Down Menu for LayoutAnchorables is not correct with Virtualization
+							-->
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model}" Value="{x:Null}" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="Header" Property="Visibility" Value="Collapsed" />
+						</MultiDataTrigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style x:Key="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
+		<Setter Property="UseLayoutRounding" Value="True" />
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.FloatingDocumentWindowBackground}}" />
+		<Setter Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.FloatingDocumentWindowBorder}}" />
+		<Setter Property="shell:WindowChrome.WindowChrome">
+			<Setter.Value>
+				<shell:WindowChrome
+					CaptionHeight="24"
+					CornerRadius="0"
+					GlassFrameThickness="0"
+					ResizeBorderThickness="10"
+					ShowSystemMenu="False" />
+			</Setter.Value>
+		</Setter>
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutDocumentFloatingWindowControl}">
+					<Grid>
+						<Border
+							x:Name="WindowBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="1">
+							<Grid>
+								<Grid.RowDefinitions>
+									<RowDefinition Height="Auto" MinHeight="24" />
+									<!--  https://github.com/xceedsoftware/wpftoolkit/issues/1203  -->
+									<RowDefinition Height="*" />
+								</Grid.RowDefinitions>
+
+								<Border
+									x:Name="Header"
+									Padding="2,0,2,0"
+									Background="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveBackground}}"
+									TextElement.Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedInactiveText}}">
+									<Grid UseLayoutRounding="True">
+										<Grid.ColumnDefinitions>
+											<ColumnDefinition Width="*" />
+											<ColumnDefinition Width="Auto" />
+											<ColumnDefinition Width="Auto" />
+										</Grid.ColumnDefinitions>
+										<ContentPresenter
+											Content="{Binding Model.SinglePane.SelectedContent, RelativeSource={RelativeSource TemplatedParent}}"
+											ContentTemplate="{Binding Model.Root.Manager.DocumentTitleTemplate, RelativeSource={RelativeSource TemplatedParent}}"
+											ContentTemplateSelector="{Binding Model.Root.Manager.DocumentTitleTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" />
+
+										<Button
+											x:Name="PART_PinMaximize"
+											Grid.Column="1"
+											Margin="5,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{x:Static shell:SystemCommands.MaximizeWindowCommand}"
+											CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Window_Maximize}"
+											Visibility="{Binding IsMaximized, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:InverseBoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinMaximize"
+												Width="12"
+												Height="12"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinMaximize}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+
+										<Button
+											x:Name="PART_PinRestore"
+											Grid.Column="1"
+											Margin="5,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{x:Static shell:SystemCommands.RestoreWindowCommand}"
+											CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Window_Restore}"
+											Visibility="{Binding IsMaximized, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinRestore"
+												Width="13"
+												Height="13"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinRestore}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+
+										<Button
+											x:Name="PART_PinClose"
+											Grid.Column="2"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{Binding Path=CloseWindowCommand, RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Document_Close}"
+											Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinClose"
+												Width="12"
+												Height="12"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinClose}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+									</Grid>
+								</Border>
+								<ContentPresenter Grid.Row="1" Content="{TemplateBinding Content}" />
+							</Grid>
+						</Border>
+					</Grid>
+					<ControlTemplate.Triggers>
+						<!--  Show Header Bar (Window Title and Restore/Maximize/Minimize buttons with highlighting color if this IsActive)  -->
+						<Trigger Property="WindowState" Value="Maximized">
+							<Setter TargetName="WindowBorder" Property="Padding" Value="3" />
+						</Trigger>
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="True">
+							<Setter TargetName="Header" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveBackground}}" />
+							<Setter TargetName="Header" Property="TextElement.Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabSelectedActiveText}}" />
+						</DataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive, pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Mark Active Document on CLick in Document Well : Tab : Button / Selected, active  -->
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true">
+							<!--  Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" /  -->
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+						</DataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, hovered  -->
+						<!--  Highlight Maximize Button of Floating Window on MouseOver  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Highlight Restore Button of Floating Window on MouseOver  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Highlight Close Button of Floating Window on MouseOver  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, pressed  -->
+						<!--  Highlight Maximize Button of Floating Window on MouseClick and Holding Bottun (even when Mouse is moved away)  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Highlight Restore Button of Floating Window on MouseClick and Holding Bottun (even when Mouse is moved away)  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Highlight Close Button of Floating Window on MouseClick and Holding Bottun (even when Mouse is moved away)  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
+		<Setter Property="UseLayoutRounding" Value="True" />
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.FloatingToolWindowBackground}}" />
+		<Setter Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.FloatingToolWindowBorder}}" />
+		<Setter Property="shell:WindowChrome.WindowChrome">
+			<Setter.Value>
+				<shell:WindowChrome
+					CaptionHeight="24"
+					CornerRadius="0"
+					GlassFrameThickness="0"
+					ResizeBorderThickness="10" />
+			</Setter.Value>
+		</Setter>
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}">
+					<Grid>
+						<Border
+							x:Name="WindowBorder"
+							Background="{TemplateBinding Background}"
+							BorderBrush="{TemplateBinding BorderBrush}"
+							BorderThickness="1">
+							<Grid>
+								<Grid.RowDefinitions>
+									<RowDefinition Height="Auto" MinHeight="24" />
+									<!--  https://github.com/xceedsoftware/wpftoolkit/issues/1203  -->
+									<RowDefinition Height="*" />
+								</Grid.RowDefinitions>
+								<Border
+									x:Name="Header"
+									Padding="2,0,2,0"
+									Background="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveBackground}}"
+									TextElement.Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionInactiveText}}">
+									<Grid UseLayoutRounding="True">
+										<Grid.ColumnDefinitions>
+											<ColumnDefinition Width="*" />
+											<ColumnDefinition Width="Auto" />
+											<ColumnDefinition Width="Auto" />
+											<ColumnDefinition Width="Auto" />
+										</Grid.ColumnDefinitions>
+
+										<Border Visibility="{Binding Path=Model.IsSinglePane, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<avalonDockControls:DropDownControlArea
+												DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
+												DropDownContextMenuDataContext="{Binding Path=SingleContentLayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+												Style="{DynamicResource DropDownControlArea}">
+												<ContentPresenter
+													Content="{Binding Model.SinglePane.SelectedContent, RelativeSource={RelativeSource TemplatedParent}}"
+													ContentTemplate="{Binding Model.Root.Manager.AnchorableTitleTemplate, RelativeSource={RelativeSource TemplatedParent}}"
+													ContentTemplateSelector="{Binding Model.Root.Manager.AnchorableTitleTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" />
+											</avalonDockControls:DropDownControlArea>
+										</Border>
+
+										<avalonDockControls:DropDownButton
+											x:Name="SinglePaneContextMenu"
+											Grid.Column="1"
+											Margin="2,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											HorizontalContentAlignment="Center"
+											VerticalContentAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											DropDownContextMenu="{Binding Model.Root.Manager.AnchorableContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
+											DropDownContextMenuDataContext="{Binding Path=SingleContentLayoutItem, RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeToolButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_CxMenu_Hint}"
+											Visibility="{Binding Path=Model.IsSinglePane, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinMenu"
+												Width="11"
+												Height="11"
+												Data="{DynamicResource PinMenu}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</avalonDockControls:DropDownButton>
+
+										<Button
+											x:Name="PART_PinMaximize"
+											Grid.Column="2"
+											Margin="2,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											HorizontalContentAlignment="Center"
+											VerticalContentAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{x:Static shell:SystemCommands.MaximizeWindowCommand}"
+											CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Window_Maximize}"
+											Visibility="{Binding IsMaximized, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:InverseBoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinMaximize"
+												Width="11"
+												Height="11"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinMaximize}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+
+										<Button
+											x:Name="PART_PinRestore"
+											Grid.Column="2"
+											Margin="2,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{x:Static shell:SystemCommands.RestoreWindowCommand}"
+											CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Window_Restore}"
+											Visibility="{Binding IsMaximized, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinRestore"
+												Width="11"
+												Height="11"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinRestore}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+
+										<Button
+											x:Name="PART_PinClose"
+											Grid.Column="3"
+											Margin="2,0"
+											HorizontalAlignment="Center"
+											VerticalAlignment="Center"
+											shell:WindowChrome.IsHitTestVisibleInChrome="True"
+											Command="{Binding HideWindowCommand, RelativeSource={RelativeSource TemplatedParent}}"
+											Focusable="False"
+											Style="{StaticResource PixiEditorDockThemeButtonStyle}"
+											ToolTip="{x:Static avalonDockProperties:Resources.Anchorable_BtnClose_Hint}"
+											Visibility="{Binding Path=IsEnabled, RelativeSource={RelativeSource Self}, Mode=OneWay, Converter={avalonDockConverters:BoolToVisibilityConverter}}">
+											<Path
+												x:Name="PART_ImgPinClose"
+												Width="11"
+												Height="11"
+												VerticalAlignment="Center"
+												Data="{DynamicResource PinClose}"
+												Fill="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveGlyph}}"
+												Stretch="Uniform" />
+										</Button>
+									</Grid>
+								</Border>
+								<ContentPresenter Grid.Row="1" Content="{TemplateBinding Content}" />
+							</Grid>
+						</Border>
+					</Grid>
+					<ControlTemplate.Triggers>
+						<Trigger Property="WindowState" Value="Maximized">
+							<Setter TargetName="WindowBorder" Property="Padding" Value="3" />
+						</Trigger>
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="True">
+							<Setter TargetName="Header" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveBackground}}" />
+							<Setter TargetName="Header" Property="TextElement.Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.ToolWindowCaptionActiveText}}" />
+						</DataTrigger>
+						<DataTrigger Binding="{Binding Model.SinglePane.SelectedContent.CanClose, RelativeSource={RelativeSource Mode=Self}}" Value="True">
+							<Setter TargetName="PART_PinClose" Property="Command" Value="{Binding CloseWindowCommand, RelativeSource={RelativeSource TemplatedParent}}" />
+							<Setter TargetName="PART_PinClose" Property="ToolTip" Value="{x:Static avalonDockProperties:Resources.Document_Close}" />
+						</DataTrigger>
+						<!--  Document Well : Tab : Button / Selected, inactive, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, inactive, pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsChecked, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedInactivePressedGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active  -->
+						<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true">
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveGlyph}}" />
+						</DataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, hovered  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseOver, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActiveHoveredGlyph}}" />
+						</MultiDataTrigger>
+
+						<!--  Document Well : Tab : Button / Selected, active, pressed  -->
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsChecked, ElementName=SinglePaneContextMenu}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="SinglePaneContextMenu" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="SinglePaneContextMenu" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMenu" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinMaximize}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinMaximize" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinMaximize" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinMaximize" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinRestore}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinRestore" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinRestore" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinRestore" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+						<MultiDataTrigger>
+							<MultiDataTrigger.Conditions>
+								<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Model.SinglePane.SelectedContent.IsActive}" Value="true" />
+								<Condition Binding="{Binding IsMouseCaptured, ElementName=PART_PinClose}" Value="True" />
+							</MultiDataTrigger.Conditions>
+							<Setter TargetName="PART_PinClose" Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBackground}}" />
+							<Setter TargetName="PART_PinClose" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedBorder}}" />
+							<Setter TargetName="PART_ImgPinClose" Property="Fill" Value="{DynamicResource {x:Static reskeys:ResourceKeys.DocumentWellTabButtonSelectedActivePressedGlyph}}" />
+						</MultiDataTrigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style x:Key="{x:Type avalonDockControls:LayoutAutoHideWindowControl}" TargetType="{x:Type avalonDockControls:LayoutAutoHideWindowControl}">
+		<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.TabBackground}}" />
+		<Setter Property="AnchorableStyle">
+			<Setter.Value>
+				<Style TargetType="avalonDockControls:LayoutAnchorableControl">
+					<Setter Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}" />
+					<Setter Property="BorderThickness" Value="1" />
+				</Style>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+
+	<Style x:Key="PixiEditorDockThemeNavigatorWindowListBoxItemFocusVisual">
+		<Setter Property="Control.Template">
+			<Setter.Value>
+				<ControlTemplate>
+					<Rectangle
+						RadiusX="2"
+						RadiusY="2"
+						Stroke="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}"
+						StrokeThickness="1" />
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style x:Key="PixiEditorDockThemeNavigatorWindowListBoxItemStyle" TargetType="ListBoxItem">
+		<Setter Property="FocusVisualStyle" Value="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemFocusVisual}" />
+		<Setter Property="Background" Value="Transparent" />
+		<Setter Property="BorderBrush" Value="Transparent" />
+		<Setter Property="TextElement.Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}" />
+		<Setter Property="BorderThickness" Value="1" />
+		<Setter Property="Padding" Value="5,0,5,0" />
+		<Setter Property="VerticalContentAlignment" Value="Center" />
+		<Setter Property="Cursor" Value="Hand" />
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="ListBoxItem">
+					<Border
+						Background="{TemplateBinding Background}"
+						BorderBrush="{TemplateBinding BorderBrush}"
+						BorderThickness="{TemplateBinding BorderThickness}"
+						SnapsToDevicePixels="true">
+						<Border x:Name="InnerBorder" BorderThickness="1">
+							<Grid>
+								<Grid.RowDefinitions>
+									<RowDefinition MaxHeight="11" />
+									<RowDefinition />
+								</Grid.RowDefinitions>
+								<Rectangle
+									x:Name="UpperHighlight"
+									Fill="#75FFFFFF"
+									Visibility="Collapsed" />
+								<ContentPresenter
+									Grid.RowSpan="2"
+									VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
+									SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+							</Grid>
+						</Border>
+					</Border>
+					<ControlTemplate.Triggers>
+						<!--<Trigger Property="IsMouseOver" Value="true">
+                            <Setter Property="Background" Value="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemSelectedFill}" />
+                            <Setter Property="BorderBrush" Value="#FF98DDFB" />
+                            <Setter TargetName="InnerBorder" Property="BorderBrush" Value="#80FFFFFF" />
+                            <Setter TargetName="UpperHighlight" Property="Visibility" Value="Visible" />
+                            <Setter TargetName="UpperHighlight" Property="Fill" Value="#40FFFFFF" />
+                        </Trigger>-->
+						<Trigger Property="IsSelected" Value="true">
+							<Setter Property="Background" Value="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowSelectedBackground}}" />
+							<Setter Property="TextElement.Foreground" Value="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowSelectedText}}" />
+							<!--<Setter Property="BorderBrush" Value="#FF98DDFB" />-->
+							<!--<Setter TargetName="InnerBorder" Property="BorderBrush" Value="#80FFFFFF" />-->
+							<!--<Setter TargetName="UpperHighlight" Property="Visibility" Value="Visible" />
+                            <Setter TargetName="UpperHighlight" Property="Fill" Value="#40FFFFFF" />-->
+						</Trigger>
+						<!--
+                            <MultiTrigger>
+                            <MultiTrigger.Conditions>
+                            <Condition Property="IsSelected" Value="true"/>
+                            <Condition Property="IsMouseOver" Value="true"/>
+                            </MultiTrigger.Conditions>
+                            <Setter Property="Background" Value="{StaticResource AvalonDock_ThemeMetro_NavigatorWindowListBoxItemSelectedHoverFill}"/>
+                            <Setter Property="BorderBrush" Value="#FF98DDFB"/>
+                            </MultiTrigger>
+						-->
+						<Trigger Property="IsEnabled" Value="false">
+							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
+						</Trigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+	<Style x:Key="{x:Type avalonDockControls:NavigatorWindow}" TargetType="{x:Type avalonDockControls:NavigatorWindow}">
+		<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
+		<Setter Property="SizeToContent" Value="WidthAndHeight" />
+		<Setter Property="ResizeMode" Value="NoResize" />
+		<!--<Setter Property="shell:WindowChrome.WindowChrome">
+            <Setter.Value>
+                <shell:WindowChrome CaptionHeight="16"
+                                    GlassFrameThickness="4"
+                                    ResizeBorderThickness="10" />
+            </Setter.Value>
+        </Setter>-->
+		<Setter Property="Template">
+			<Setter.Value>
+				<ControlTemplate TargetType="{x:Type avalonDockControls:NavigatorWindow}">
+					<Grid>
+						<Border
+							x:Name="WindowBorder"
+							Background="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowBackground}}"
+							BorderBrush="{DynamicResource {x:Static reskeys:ResourceKeys.PanelBorderBrush}}"
+							BorderThickness="1">
+							<Grid>
+								<Grid.RowDefinitions>
+									<RowDefinition Height="54" />
+									<RowDefinition Height="*" />
+									<RowDefinition Height="Auto" />
+								</Grid.RowDefinitions>
+
+								<Grid Margin="5">
+									<Grid.RowDefinitions>
+										<RowDefinition />
+										<RowDefinition />
+									</Grid.RowDefinitions>
+									<Grid>
+										<Grid.ColumnDefinitions>
+											<ColumnDefinition Width="Auto" />
+											<ColumnDefinition />
+										</Grid.ColumnDefinitions>
+										<Image
+											Source="{Binding SelectedDocument.LayoutElement.IconSource, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:NullToDoNothingConverter}}"
+											Stretch="None"
+											Visibility="{Binding SelectedDocument.LayoutElement.IconSource, RelativeSource={RelativeSource TemplatedParent}, Converter={avalonDockConverters:BoolToVisibilityConverter}}" />
+										<TextBlock
+											x:Name="selectedElementTitle"
+											Grid.Column="1"
+											Margin="4,0,0,0"
+											VerticalAlignment="Center"
+											FontWeight="Bold"
+											Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}"
+											Text="{Binding SelectedDocument.LayoutElement.Title, RelativeSource={RelativeSource TemplatedParent}}"
+											TextTrimming="CharacterEllipsis" />
+									</Grid>
+									<TextBlock
+										x:Name="selectedElementDescription"
+										VerticalAlignment="Center"
+										Text="{Binding SelectedDocument.LayoutElement.Description}"
+										TextTrimming="CharacterEllipsis" />
+								</Grid>
+
+								<Border
+									Grid.Row="1"
+									MinHeight="200"
+									Background="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowBackground}}"
+									BorderBrush="Transparent"
+									BorderThickness="0,1,0,0">
+									<Grid Margin="5">
+										<Grid.ColumnDefinitions>
+											<ColumnDefinition Width="Auto" />
+											<ColumnDefinition />
+										</Grid.ColumnDefinitions>
+										<Grid Margin="5">
+											<Grid.RowDefinitions>
+												<RowDefinition Height="Auto" />
+												<RowDefinition />
+											</Grid.RowDefinitions>
+											<TextBlock
+												Margin="0,3,0,4"
+												FontWeight="Bold"
+												Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}"
+												Text="{x:Static avalonDockProperties:Resources.Active_ToolWindows}" />
+											<ListBox
+												x:Name="PART_AnchorableListBox"
+												Grid.Row="1"
+												MaxHeight="400"
+												Background="Transparent"
+												ItemContainerStyle="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemStyle}"
+												ItemsSource="{Binding Anchorables}"
+												SelectedItem="{Binding SelectedAnchorable, Mode=TwoWay}">
+												<ListBox.ItemTemplate>
+													<DataTemplate>
+														<Grid>
+															<Grid.ColumnDefinitions>
+																<ColumnDefinition Width="16" />
+																<ColumnDefinition Width="150" />
+															</Grid.ColumnDefinitions>
+															<Image Source="{Binding LayoutElement.IconSource, Converter={avalonDockConverters:NullToDoNothingConverter}}" Stretch="None" />
+															<TextBlock
+																Grid.Column="1"
+																Margin="4,0,0,0"
+																Text="{Binding LayoutElement.Title}"
+																TextTrimming="CharacterEllipsis" />
+														</Grid>
+													</DataTemplate>
+												</ListBox.ItemTemplate>
+											</ListBox>
+										</Grid>
+										<Grid Grid.Column="1" Margin="5">
+											<Grid.RowDefinitions>
+												<RowDefinition Height="Auto" />
+												<RowDefinition />
+											</Grid.RowDefinitions>
+											<TextBlock
+												Margin="0,3,0,4"
+												FontWeight="Bold"
+												Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}"
+												Text="{x:Static avalonDockProperties:Resources.Active_Files}" />
+
+											<ListBox
+												x:Name="PART_DocumentListBox"
+												Grid.Row="1"
+												MaxHeight="400"
+												Background="Transparent"
+												ItemContainerStyle="{StaticResource PixiEditorDockThemeNavigatorWindowListBoxItemStyle}"
+												ItemsSource="{Binding Documents}"
+												SelectedItem="{Binding SelectedDocument, Mode=TwoWay}">
+												<ListBox.ItemTemplate>
+													<DataTemplate>
+														<Grid>
+															<Grid.ColumnDefinitions>
+																<ColumnDefinition Width="16" />
+																<ColumnDefinition Width="150" />
+															</Grid.ColumnDefinitions>
+															<Image Source="{Binding LayoutElement.IconSource, Converter={avalonDockConverters:NullToDoNothingConverter}}" Stretch="None" />
+															<TextBlock
+																Grid.Column="1"
+																Margin="4,0,0,0"
+																Text="{Binding LayoutElement.Title}"
+																TextTrimming="CharacterEllipsis" />
+														</Grid>
+													</DataTemplate>
+												</ListBox.ItemTemplate>
+												<ListBox.ItemsPanel>
+													<ItemsPanelTemplate>
+														<WrapPanel Orientation="Vertical" />
+													</ItemsPanelTemplate>
+												</ListBox.ItemsPanel>
+											</ListBox>
+										</Grid>
+									</Grid>
+								</Border>
+
+								<Grid Grid.Row="2" Margin="5">
+									<TextBlock
+										VerticalAlignment="Center"
+										Foreground="{DynamicResource {x:Static reskeys:ResourceKeys.NavigatorWindowForeground}}"
+										Text="{Binding SelectedDocument.LayoutElement.ToolTip, RelativeSource={RelativeSource TemplatedParent}}" />
+								</Grid>
+							</Grid>
+						</Border>
+					</Grid>
+					<ControlTemplate.Triggers>
+						<Trigger Property="SelectedDocument" Value="{x:Null}">
+							<Setter TargetName="selectedElementTitle" Property="Text" Value="{Binding SelectedAnchorable.LayoutElement.Title}" />
+							<Setter TargetName="selectedElementDescription" Property="Text" Value="{x:Null}" />
+						</Trigger>
+					</ControlTemplate.Triggers>
+				</ControlTemplate>
+			</Setter.Value>
+		</Setter>
+	</Style>
+
+</ResourceDictionary>

+ 13 - 0
PixiEditor/Styles/AvalonDock/Themes/Icons/IconGeometry.xaml

@@ -0,0 +1,13 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+	<PathGeometry x:Key="PinAutoHide" Figures="M 128,17.475L 130.842,17.475L 130.842,2.91001L 130.842,0.608195L 130.842,0.000223796L 139.593,0.000223796L 145.003,0.000223796L 145.424,0.000223796L 145.424,17.475L 148.413,17.475L 148.413,20.3848L 139.684,20.3848L 139.684,32.0003L 136.752,32.0003L 136.752,20.3848L 128,20.3848L 128,17.475 Z M 133.774,2.91007L 133.774,17.475L 139.593,17.475L 139.593,2.91007L 133.774,2.91007 Z" />
+	<PathGeometry x:Key="HTabGroup" Figures="M 2.53856,7.38456L 2.53856,12.3846L 31.9231,12.3846L 31.9231,7.38456L 2.53856,7.38456 Z M 0,0.000162761L 34.3846,0.000162761L 34.3846,14.7694L 0,14.7694L 0,0.000162761 Z M 2.53861,24.6155L 2.53861,29.6155L 31.9232,29.6155L 31.9232,24.6155L 2.53861,24.6155 Z M 5.00801e-005,17.2309L 34.3846,17.2309L 34.3846,32.0001L 5.00801e-005,32.0001L 5.00801e-005,17.2309 Z " />
+	<PathGeometry x:Key="VTabGroup" Figures="M 64,0.000223796L 101.319,0.000223796L 101.319,32.0002L 64,32.0002L 64,0.000223796 Z M 66.6804,8.03752L 66.6804,29.3154L 79.896,29.3154L 79.896,8.03752L 66.6804,8.03752 Z M 85.4232,8.03746L 85.4232,29.3154L 98.6388,29.3154L 98.6388,8.03746L 85.4232,8.03746 Z " />
+	<PathGeometry x:Key="DockPaneLargeEmpty" Figures="M 192,19.4161L 192,12.5843L 202.892,12.5843L 204.584,10.8924L 204.584,0.000223796L 211.416,0.000223796L 211.416,10.8924L 213.108,12.5843L 224,12.5843L 224,19.4161L 213.108,19.4161L 211.416,21.108L 211.416,32.0002L 204.584,32.0002L 204.584,21.108L 202.892,19.4161L 192,19.4161 Z " />
+	<PathGeometry x:Key="DockPaneEmpty" Figures="M 266.388,0.000223796L 277.612,0.000223796L 277.612,7.60856L 280.392,10.3883L 288,10.3883L 288,21.6122L 280.392,21.6122L 277.612,24.3919L 277.612,32.0002L 266.388,32.0002L 266.388,24.3919L 263.608,21.6122L 256,21.6122L 256,10.3883L 263.608,10.3883L 266.388,7.60856L 266.388,0.000223796 Z " />
+	<PathGeometry x:Key="PinMenu" Figures="M 352.041,32.0005L 320,0.000162761L 384,0.000162761L 352.041,32.0005 Z " />
+	<PathGeometry x:Key="PinClose" Figures="M 0,2.0345e-005L 7.62109,2.0345e-005L 19.2627,12.0551L 30.9043,2.0345e-005L 38.5241,2.0345e-005L 23.0726,16.0003L 38.5234,32L 30.9023,32L 19.2621,19.9462L 7.62177,32L 0.00195313,32L 15.4521,16.001L 0,2.0345e-005 Z" />
+	<PathGeometry x:Key="PinRestore" Figures="M 480,6.27958L 486.48,6.27958L 486.48,0.000101726L 512.201,0.000101726L 512.201,25.7207L 505.721,25.7207L 505.721,32.0001L 480,32.0001L 480,6.27958 Z M 505.721,6.27964L 505.721,22.5896L 508.852,22.5896L 508.852,3.29911L 489.561,3.29911L 489.561,6.27964L 505.721,6.27964 Z M 483.081,9.57847L 483.081,28.8689L 502.371,28.8689L 502.371,9.57847L 483.081,9.57847 Z " />
+	<PathGeometry x:Key="PinMaximize" Figures="M 544,4.06904e-005L 576,4.06904e-005L 576,32L 544,32L 544,4.06904e-005 Z M 547.2,3.20011L 547.2,28.8001L 572.8,28.8001L 572.8,3.20011L 547.2,3.20011 Z " />
+	<PathGeometry x:Key="PinDocMenu" Figures="M 608,0.000223796L 640,0.000223796L 640,7.70652L 608,7.70652L 608,0.000223796 Z M 624.021,32.0002L 608,16.0001L 640,16.0001L 624.021,32.0002 Z " />
+	<PathGeometry x:Key="Locked" Figures="M 1.77411,12.4183L 23.0627,12.4183C 24.0423,12.4183 24.8366,13.2126 24.8366,14.1925L 24.8366,30.1588C 24.8366,31.1386 24.0423,31.9329 23.0627,31.9329L 1.77411,31.9329C 0.794312,31.9329 0,31.1386 0,30.1588L 0,14.1925C 0,13.2126 0.794312,12.4183 1.77411,12.4183 Z M 14.5149,22.095C 15.0955,21.6111 15.4826,20.9337 15.4826,20.1595C 15.4826,18.805 14.4182,17.7404 13.0635,17.7404C 11.7087,17.7404 10.6442,18.8048 10.6442,20.1595C 10.6442,20.9337 11.0313,21.6111 11.6119,22.095L 11.6119,24.0302C 11.6119,24.8044 12.2893,25.4818 13.0633,25.4818C 13.8375,25.4818 14.5149,24.8044 14.5149,24.0302L 14.5149,22.095 Z M 20.9659,12.4183L 18.063,12.4183L 18.063,8.70894C 18.063,5.51565 15.4504,2.90304 12.257,2.90304C 9.06372,2.90304 6.45111,5.51565 6.45111,8.70894L 6.45111,12.4183L 3.54816,12.4183L 3.54816,8.70894C 3.54816,3.87069 7.41882,2.03401e-005 12.257,2.03401e-005C 17.0955,2.03401e-005 20.9659,3.87069 20.9659,8.70894L 20.9659,12.4183 Z " />
+</ResourceDictionary>

+ 132 - 0
PixiEditor/Styles/AvalonDock/Themes/Menu/DarkBrushs.xaml

@@ -0,0 +1,132 @@
+<ResourceDictionary
+	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+	xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
+	xmlns:reskeys="clr-namespace:PixiEditor.Styles.AvalonDock.Themes">
+	<!--  Menu  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=MenuSeparatorBorderBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#333337" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=SubmenuItemBackgroundKey}"
+		PresentationOptions:Freeze="True"
+		Color="#1B1B1C" />
+
+	<!--  Highlighing Top Menu Entry on Mouse over  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=MenuItemHighlightedBackgroundKey}"
+		PresentationOptions:Freeze="True"
+		Color="#3E3E40" />
+
+	<!--  Highlighting all other than Top Menu entry on mouse over  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=SubmenuItemBackgroundHighlightedKey}"
+		PresentationOptions:Freeze="True"
+		Color="#333334" />
+
+	<!--  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=FocusScrollButtonBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#FF042271" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=ScrollButtonBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#FFFFFFFF" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=CheckMarkBackgroundBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="Transparent" />
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=CheckMarkBorderBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#90CDD3E6" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=CheckMarkForegroundBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="White" />
+
+	<!--  SolidColorBrush x:Key="DisabledSubMenuItemForegroundBrush" Color="#FF9A9A9A" /  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=DisabledSubMenuItemBackgroundBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#FFEEE9E9" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=DisabledSubMenuItemBorderBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#DBD6D6" />
+
+	<!--  SolidColorBrush x:Key="MenuBarBackgroundBorderBrush" Color="#F0000000"/  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=MenuBorderBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#333337" />
+
+	<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys}, ResourceId=MenuBackgroundKey}" PresentationOptions:Freeze="True" StartPoint="0,0" EndPoint="0,1">
+		<GradientStop Offset="1" Color="#1B1B1C" />
+	</LinearGradientBrush>
+
+	<!--  Styles the background of the top level item in a menu (Files, Edit, ...)  -->
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=TopLevelHeaderMenuBackgroundKey}"
+		PresentationOptions:Freeze="True"
+		Color="#333337" />
+	<!--  Control Keys XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  -->
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=TextBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="White" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=ItemBackgroundSelectedKey}"
+		PresentationOptions:Freeze="True"
+		Color="{DynamicResource {x:Static reskeys:ResourceKeys.ControlAccentColorKey}}" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=ItemTextDisabledKey}"
+		PresentationOptions:Freeze="True"
+		Color="#717171" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=NormalBackgroundBrushKey}"
+		PresentationOptions:Freeze="True"
+		Color="#FF2D2D30" />
+
+	<SolidColorBrush
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=ItemBackgroundHoverKey}"
+		PresentationOptions:Freeze="True"
+		Color="#3e3e42" />
+
+	<!--  Define Shadow Effect for each menu item  -->
+	<DropShadowEffect
+		x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type reskeys:ResourceKeys},
+									 ResourceId=DropShadowEffectKey}"
+		ShadowDepth="2"
+		Color="Black" />
+
+</ResourceDictionary>

+ 226 - 0
PixiEditor/Styles/AvalonDock/Themes/Menu/MenuItem.xaml

@@ -0,0 +1,226 @@
+<ResourceDictionary
+	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+	xmlns:reskeys="clr-namespace:PixiEditor.Styles.AvalonDock.Themes.Menu">
+
+	<!--  Source https://github.com/Dirkster99/MLib/blob/master/source/Components/MLib/Controls/Menu/ContextMenu.xaml  -->
+	<ControlTemplate x:Key="MLibMenuItem" TargetType="{x:Type MenuItem}">
+		<ControlTemplate.Resources>
+			<Geometry x:Key="Checkmark">M 0,5.1 L 1.7,5.2 L 3.4,7.1 L 8,0.4 L 9.2,0 L 3.3,10.8 Z</Geometry>
+		</ControlTemplate.Resources>
+		<!--  Border 1 Item with Submenu underneath  -->
+		<Border
+			x:Name="Border"
+			Background="Transparent"
+			BorderBrush="Transparent"
+			BorderThickness="{TemplateBinding BorderThickness}"
+			SnapsToDevicePixels="True">
+			<Grid x:Name="Grid">
+				<Grid.ColumnDefinitions>
+					<ColumnDefinition
+						x:Name="Col0"
+						Width="Auto"
+						MinWidth="17"
+						SharedSizeGroup="MenuItemIconColumnGroup" />
+					<ColumnDefinition Width="Auto" SharedSizeGroup="MenuTextColumnGroup" />
+					<ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup" />
+					<ColumnDefinition x:Name="Col3" Width="*" />
+				</Grid.ColumnDefinitions>
+
+				<ContentPresenter
+					x:Name="Icon"
+					Grid.Column="0"
+					Margin="2,0,2,0"
+					VerticalAlignment="Center"
+					ContentSource="Icon" />
+
+				<Border
+					x:Name="GlyphPanel"
+					Width="18"
+					Height="18"
+					Margin="2,0,2,0"
+					HorizontalAlignment="Center"
+					Background="{DynamicResource {x:Static reskeys:MenuKeys.CheckMarkBackgroundBrushKey}}"
+					BorderBrush="{DynamicResource {x:Static reskeys:MenuKeys.CheckMarkBorderBrushKey}}"
+					BorderThickness="2"
+					CornerRadius="0"
+					Visibility="Collapsed">
+
+					<Path
+						x:Name="Glyph"
+						Width="9"
+						Height="11"
+						HorizontalAlignment="Center"
+						Data="{StaticResource Checkmark}"
+						Fill="{DynamicResource {x:Static reskeys:MenuKeys.CheckMarkForegroundBrushKey}}"
+						FlowDirection="LeftToRight" />
+				</Border>
+
+				<ContentPresenter
+					x:Name="HeaderHost"
+					Grid.Column="1"
+					Margin="{TemplateBinding Padding}"
+					VerticalAlignment="Center"
+					ContentSource="Header"
+					RecognizesAccessKey="True" />
+
+				<ContentPresenter
+					x:Name="IGTHost"
+					Grid.Column="2"
+					Margin="8,1,8,1"
+					VerticalAlignment="Center"
+					ContentSource="InputGestureText" />
+
+				<Grid
+					x:Name="ArrowPanel"
+					Grid.Column="3"
+					Margin="4,0,6,0"
+					HorizontalAlignment="Stretch"
+					VerticalAlignment="Center">
+					<Path
+						x:Name="ArrowPanelPath"
+						HorizontalAlignment="Right"
+						VerticalAlignment="Center"
+						Data="M0,0 L0,8 L4,4 z"
+						Fill="{TemplateBinding Foreground}" />
+				</Grid>
+				<Popup
+					x:Name="SubMenuPopup"
+					AllowsTransparency="True"
+					Focusable="false"
+					HorizontalOffset="-1"
+					IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}"
+					Placement="Right"
+					PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}">
+					<Grid Margin="0,0,5,5">
+						<!--  Border 2  -->
+						<Border
+							x:Name="SubMenuBorder"
+							Background="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}"
+							BorderBrush="{DynamicResource {x:Static reskeys:MenuKeys.MenuSeparatorBorderBrushKey}}"
+							BorderThickness="1"
+							Effect="{DynamicResource {x:Static reskeys:MenuKeys.DropShadowEffectKey}}"
+							SnapsToDevicePixels="True">
+							<Grid
+								x:Name="SubMenu"
+								Margin="2"
+								Grid.IsSharedSizeScope="True">
+								<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle" />
+							</Grid>
+						</Border>
+						<!--  Border 3  -->
+						<Border
+							x:Name="TransitionBorder"
+							Width="0"
+							Height="2"
+							Margin="1,0,0,0"
+							HorizontalAlignment="Left"
+							VerticalAlignment="Top"
+							Background="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}"
+							BorderBrush="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}"
+							BorderThickness="1"
+							SnapsToDevicePixels="False" />
+					</Grid>
+				</Popup>
+			</Grid>
+		</Border>
+		<ControlTemplate.Triggers>
+			<!--  A menu entry with check mark cannot have an icon  -->
+			<Trigger Property="IsChecked" Value="true">
+				<Setter TargetName="GlyphPanel" Property="Visibility" Value="Visible" />
+				<Setter TargetName="Icon" Property="Visibility" Value="Collapsed" />
+			</Trigger>
+
+			<!--<Trigger Property="Role" Value="TopLevelHeader">
+                                    <Setter Property="Padding" Value="6,0,6,2"/>
+                                    <Setter TargetName="SubMenuPopup" Property="Placement" Value="Bottom"/>
+                                    <Setter TargetName="Col0" Property="MinWidth" Value="0"/>
+                                    <Setter TargetName="Col3" Property="Width" Value="Auto"/>
+                                    <Setter TargetName="Icon" Property="Visibility" Value="Collapsed"/>
+                                    <Setter TargetName="IGTHost" Property="Visibility" Value="Collapsed" />
+                                    <Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed"/>
+                                    <Setter TargetName="SubMenuBorder" Property="BorderThickness" Value="1,1,1,1"/>
+                                    <Setter TargetName="SubMenu" Property="Margin" Value="2,3,2,2"/>
+                                    <Setter TargetName="TransitionBorder" Property="Width" Value="{Binding ActualWidth, ElementName=Grid}"/>
+                                </Trigger>
+                                <Trigger Property="Role" Value="TopLevelItem">
+                                    <Setter Property="Padding" Value="6,0,6,2"/>
+                                    <Setter TargetName="Col0" Property="MinWidth" Value="0"/>
+                                    <Setter TargetName="Col3" Property="Width" Value="Auto"/>
+                                    <Setter TargetName="Icon" Property="Visibility" Value="Collapsed"/>
+                                    <Setter TargetName="IGTHost" Property="Visibility" Value="Collapsed"/>
+                                    <Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed"/>
+                                </Trigger>-->
+			<Trigger Property="Role" Value="SubmenuHeader">
+				<Setter Property="DockPanel.Dock" Value="Top" />
+				<Setter Property="Padding" Value="10,3,0,3" />
+				<Setter TargetName="Border" Property="MinHeight" Value="22" />
+				<Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}" />
+			</Trigger>
+			<Trigger Property="Role" Value="SubmenuItem">
+				<Setter Property="DockPanel.Dock" Value="Top" />
+				<Setter Property="Padding" Value="10,3,0,3" />
+				<Setter TargetName="Border" Property="MinHeight" Value="22" />
+				<Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed" />
+				<Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}" />
+			</Trigger>
+			<Trigger Property="IsHighlighted" Value="True">
+				<!--  Border Applies to item with sub-menu attached to it  -->
+				<Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.ItemBackgroundHoverKey}}" />
+			</Trigger>
+			<!-- MultiTrigger>
+                <MultiTrigger.Conditions>
+                    <Condition Property="IsHighlighted" Value="true"/>
+                    <Condition Property="Role" Value="TopLevelHeader"/>
+                </MultiTrigger.Conditions>
+                <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.MenuItemHighlightedBackgroundKey}}"/>
+            </>
+            <MultiTrigger>
+                <MultiTrigger.Conditions>
+                    <Condition Property="IsHighlighted" Value="true"/>
+                    <Condition Property="Role" Value="TopLevelItem"/>
+                </MultiTrigger.Conditions>
+                <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.MenuItemHighlightedBackgroundKey}}"/>
+            </MultiTrigger>
+            <MultiTrigger>
+                <MultiTrigger.Conditions>
+                    <Condition Property="IsHighlighted" Value="true"/>
+                    <Condition Property="Role" Value="SubmenuHeader"/>
+                </MultiTrigger.Conditions>
+                <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundHighlightedKey}}"/>
+                <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundHighlightedKey}}"/>
+            </MultiTrigger>
+            <MultiTrigger>
+                <MultiTrigger.Conditions>
+                    <Condition Property="IsHighlighted" Value="true"/>
+                    <Condition Property="Role" Value="SubmenuItem"/>
+                </MultiTrigger.Conditions>
+                <Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundHighlightedKey}}"/>
+            </MultiTrigger-->
+			<MultiTrigger>
+				<MultiTrigger.Conditions>
+					<Condition Property="IsSubmenuOpen" Value="true" />
+					<Condition Property="Role" Value="TopLevelHeader" />
+				</MultiTrigger.Conditions>
+				<Setter TargetName="Border" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.SubmenuItemBackgroundKey}}" />
+				<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:MenuKeys.MenuSeparatorBorderBrushKey}}" />
+				<Setter TargetName="Border" Property="BorderThickness" Value="1,1,1,0" />
+			</MultiTrigger>
+			<Trigger Property="IsSubmenuOpen" Value="true">
+				<Setter TargetName="ArrowPanelPath" Property="Fill" Value="{DynamicResource {x:Static reskeys:MenuKeys.ItemBackgroundSelectedKey}}" />
+			</Trigger>
+			<Trigger Property="IsSuspendingPopupAnimation" Value="true">
+				<Setter TargetName="SubMenuPopup" Property="PopupAnimation" Value="None" />
+			</Trigger>
+			<Trigger Property="Icon" Value="{x:Null}">
+				<Setter TargetName="Icon" Property="Visibility" Value="Collapsed" />
+			</Trigger>
+			<Trigger Property="IsEnabled" Value="False">
+				<Setter Property="Foreground" Value="{DynamicResource {x:Static reskeys:MenuKeys.ItemTextDisabledKey}}" />
+				<Setter TargetName="GlyphPanel" Property="Background" Value="{DynamicResource {x:Static reskeys:MenuKeys.DisabledSubMenuItemBackgroundBrushKey}}" />
+				<Setter TargetName="GlyphPanel" Property="BorderBrush" Value="{DynamicResource {x:Static reskeys:MenuKeys.DisabledSubMenuItemBorderBrushKey}}" />
+			</Trigger>
+		</ControlTemplate.Triggers>
+	</ControlTemplate>
+
+</ResourceDictionary>

+ 130 - 0
PixiEditor/Styles/AvalonDock/Themes/Menu/MenuKeys.cs

@@ -0,0 +1,130 @@
+using System.Windows;
+
+namespace PixiEditor.Styles.AvalonDock.Themes.Menu
+{
+    /// <summary>
+    /// Class implements static resource keys that should be referenced to configure
+    /// menu specific colors, styles and other elements that are typically changed
+    /// between themes.
+    /// </summary>
+    public static class MenuKeys
+    {
+        /// <summary>
+        /// Gets the Brush key for the normal Menu separator border color.
+        /// </summary>
+        public static readonly ComponentResourceKey MenuSeparatorBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "MenuSeparatorBorderBrushKey");
+
+        /// <summary>
+        /// Gets the Brush key for the normal background of a Sub-Menu-Item.
+        /// </summary>
+        public static readonly ComponentResourceKey SubmenuItemBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "SubmenuItemBackgroundKey");
+
+        /// <summary>
+        /// Gets the Brush key for highlighting the background of a Menu-Item on mouse over.
+        /// </summary>
+        public static readonly ComponentResourceKey MenuItemHighlightedBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "MenuItemHighlightedBackgroundKey");
+
+        /// <summary>
+        /// Gets the Brush key for highlighting the background of a Menu-Item on mouse over.
+        /// </summary>
+        public static readonly ComponentResourceKey SubmenuItemBackgroundHighlightedKey = new ComponentResourceKey(typeof(ResourceKeys), "SubmenuItemBackgroundHighlightedKey");
+
+        // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+
+        /// <summary>
+        /// Gets the background Brush key for a Menu Repeat button in IsPressed state.
+        /// (see context menu below)
+        /// </summary>
+        public static readonly ComponentResourceKey FocusScrollButtonBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "FocusScrollButtonBrushKey");
+
+        /// <summary>
+        /// Gets the background Brush key for a Context-Menu Repeat button in IsPressed state.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey ScrollButtonBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "ScrollButtonBrushKey");
+
+        /// <summary>
+        /// Gets the background Brush key of a Checkmark in a menu or context menu.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey CheckMarkBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "CheckMarkBackgroundBrushKey");
+
+        /// <summary>
+        /// Gets the border Brush key of a Checkmark in a menu or context menu.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey CheckMarkBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "CheckMarkBorderBrushKey");
+
+        /// <summary>
+        /// Gets the foreground Brush key of a Checkmark in a menu or context menu.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey CheckMarkForegroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "CheckMarkForegroundBrushKey");
+
+        /// <summary>
+        /// Gets the background Brush key of a disabled sub-menu-item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey DisabledSubMenuItemBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DisabledSubMenuItemBackgroundBrushKey");
+
+        /// <summary>
+        /// Gets the border Brush key of a disabled sub-menu-item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey DisabledSubMenuItemBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DisabledSubMenuItemBorderBrushKey");
+
+        /// <summary>
+        /// Gets the border Brush key of a disabled sub-menu-item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey MenuBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "MenuBorderBrushKey");
+
+        /// <summary>
+        /// Gets the normal background Brush key of a menu.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey MenuBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "MenuBackgroundKey");
+
+        /// <summary>
+        /// Gets the normal background Brush key of the top level item in a menu (Files, Edit, ...).
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey TopLevelHeaderMenuBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "TopLevelHeaderMenuBackgroundKey");
+
+        /// <summary>
+        /// Gets the normal text or foreground Brush key of a menu item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey TextBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "TextBrushKey");
+
+        /// <summary>
+        /// Gets the normal background Brush key of a selected menu item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey ItemBackgroundSelectedKey = new ComponentResourceKey(typeof(ResourceKeys), "ItemBackgroundSelectedKey");
+
+        /// <summary>
+        /// Gets the text or foreground Brush key of a menu item in disabled state.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey ItemTextDisabledKey = new ComponentResourceKey(typeof(ResourceKeys), "ItemTextDisabledKey");
+
+        /// <summary>
+        /// Gets the normal background Brush key of a menu item.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey NormalBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "NormalBackgroundBrushKey");
+
+        /// <summary>
+        /// Gets the background Brush key of a menu item in mouse over state.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey ItemBackgroundHoverKey = new ComponentResourceKey(typeof(ResourceKeys), "ItemBackgroundHoverKey");
+
+        /// <summary>
+        /// Gets the Brush key that is applied to draw a drop shadow (if any) below a menu.
+        /// (see menu above)
+        /// </summary>
+        public static readonly ComponentResourceKey DropShadowEffectKey = new ComponentResourceKey(typeof(ResourceKeys), "DropShadowEffectKey");
+    }
+}

+ 8 - 0
PixiEditor/Styles/AvalonDock/Themes/Menu/NamespaceDoc.cs

@@ -0,0 +1,8 @@
+namespace PixiEditor.Styles.AvalonDock.Themes.Menu
+{
+	/// <summary>This namespace defines the themed menu specific items for this theme in AvalonDock.</summary>
+	[System.Runtime.CompilerServices.CompilerGenerated]
+	internal class NamespaceDoc
+	{
+	}
+}

+ 8 - 0
PixiEditor/Styles/AvalonDock/Themes/NamespaceDoc.cs

@@ -0,0 +1,8 @@
+namespace PixiEditor.Styles.AvalonDock.Themes
+{
+    /// <summary>This namespace defines the theme specific resources for this theme in AvalonDock.</summary>
+    [System.Runtime.CompilerServices.CompilerGenerated]
+	internal class NamespaceDoc
+	{
+	}
+}

+ 180 - 0
PixiEditor/Styles/AvalonDock/Themes/ResourceKeys.cs

@@ -0,0 +1,180 @@
+using System.Windows;
+
+namespace PixiEditor.Styles.AvalonDock.Themes
+{
+    /// <summary>
+	/// Resource key management class to keep track of all resources
+    /// that can be re-styled in applications that make use of the implemented controls.
+	/// </summary>
+	public static class ResourceKeys
+	{
+		#region Accent Keys
+		/// <summary>
+        /// Accent Color Key - This Color key is used to accent elements in the UI
+		/// (e.g.: Color of Activated Normal Window Frame, ResizeGrip, Focus or MouseOver input elements)
+		/// </summary>
+		public static readonly ComponentResourceKey ControlAccentColorKey = new ComponentResourceKey(typeof(ResourceKeys), "ControlAccentColorKey");
+
+		/// <summary>
+		/// Accent Brush Key - This Brush key is used to accent elements in the UI
+		/// (e.g.: Color of Activated Normal Window Frame, ResizeGrip, Focus or MouseOver input elements)
+		/// </summary>
+		public static readonly ComponentResourceKey ControlAccentBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "ControlAccentBrushKey");
+		#endregion Accent Keys
+
+		#region Brush Keys
+		// General
+		public static readonly ComponentResourceKey Background = new ComponentResourceKey(typeof(ResourceKeys), "Background");
+		public static readonly ComponentResourceKey PanelBorderBrush = new ComponentResourceKey(typeof(ResourceKeys), "PanelBorderBrush");
+		public static readonly ComponentResourceKey TabBackground = new ComponentResourceKey(typeof(ResourceKeys), "TabBackground");
+
+		// Auto Hide : Tab
+		public static readonly ComponentResourceKey AutoHideTabDefaultBackground = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabDefaultBackground");
+		public static readonly ComponentResourceKey AutoHideTabDefaultBorder = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabDefaultBorder");
+		public static readonly ComponentResourceKey AutoHideTabDefaultText = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabDefaultText");
+
+		// Mouse Over Auto Hide Button for (collapsed) Auto Hidden Elements
+		public static readonly ComponentResourceKey AutoHideTabHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabHoveredBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey AutoHideTabHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabHoveredBorder");
+		// AccentColor
+		public static readonly ComponentResourceKey AutoHideTabHoveredText = new ComponentResourceKey(typeof(ResourceKeys), "AutoHideTabHoveredText");
+
+		// Document Well : Overflow Button
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonDefaultGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonDefaultGlyph");
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonHoveredBackground");
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonHoveredBorder");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonHoveredGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonPressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonPressedBackground");
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonPressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonPressedBorder");
+		public static readonly ComponentResourceKey DocumentWellOverflowButtonPressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellOverflowButtonPressedGlyph");
+
+		// Document Well : Tab
+		// Selected Document Highlight Header Top color (AccentColor)
+		public static readonly ComponentResourceKey DocumentWellTabSelectedActiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabSelectedActiveBackground");
+
+		public static readonly ComponentResourceKey DocumentWellTabSelectedActiveText = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabSelectedActiveText");
+		public static readonly ComponentResourceKey DocumentWellTabSelectedInactiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabSelectedInactiveBackground");
+		public static readonly ComponentResourceKey DocumentWellTabSelectedInactiveText = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabSelectedInactiveText");
+		public static readonly ComponentResourceKey DocumentWellTabUnselectedBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabUnselectedBackground");
+		public static readonly ComponentResourceKey DocumentWellTabUnselectedText = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabUnselectedText");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabUnselectedHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabUnselectedHoveredBackground");
+		public static readonly ComponentResourceKey DocumentWellTabUnselectedHoveredText = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabUnselectedHoveredText");
+
+		// Document Well : Tab : Button
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActiveGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActiveGlyph");
+
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActiveHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActiveHoveredBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActiveHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActiveHoveredBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActiveHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActiveHoveredGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActivePressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActivePressedBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActivePressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActivePressedBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedActivePressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedActivePressedGlyph");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactiveGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactiveGlyph");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactiveHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactiveHoveredBackground");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactiveHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactiveHoveredBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactiveHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactiveHoveredGlyph");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactivePressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactivePressedBackground");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactivePressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactivePressedBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonSelectedInactivePressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonSelectedInactivePressedGlyph");
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonHoveredBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonHoveredGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonPressedBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonPressedBorder");
+		public static readonly ComponentResourceKey DocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "DocumentWellTabButtonUnselectedTabHoveredButtonPressedGlyph");
+
+		// Tool Window : Caption
+		// Background of selected toolwindow (AccentColor)
+		public static readonly ComponentResourceKey ToolWindowCaptionActiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionActiveBackground");
+		public static readonly ComponentResourceKey ToolWindowCaptionActiveGrip = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionActiveGrip");
+		public static readonly ComponentResourceKey ToolWindowCaptionActiveText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionActiveText");
+		public static readonly ComponentResourceKey ToolWindowCaptionInactiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionInactiveBackground");
+		public static readonly ComponentResourceKey ToolWindowCaptionInactiveGrip = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionInactiveGrip");
+		public static readonly ComponentResourceKey ToolWindowCaptionInactiveText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionInactiveText");
+
+		// Tool Window : Caption : Button
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActiveGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActiveGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActiveHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActiveHoveredBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActiveHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActiveHoveredBorder");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActiveHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActiveHoveredGlyph");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActivePressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActivePressedBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActivePressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActivePressedBorder");
+
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonActivePressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonActivePressedGlyph");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactiveGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactiveGlyph");
+
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactiveHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactiveHoveredBackground");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactiveHoveredBorder = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactiveHoveredBorder");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactiveHoveredGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactiveHoveredGlyph");
+
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactivePressedBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactivePressedBackground");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactivePressedBorder = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactivePressedBorder");
+		public static readonly ComponentResourceKey ToolWindowCaptionButtonInactivePressedGlyph = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowCaptionButtonInactivePressedGlyph");
+
+		// Tool Window : Tab
+		public static readonly ComponentResourceKey ToolWindowTabSelectedActiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabSelectedActiveBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowTabSelectedActiveText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabSelectedActiveText");
+		public static readonly ComponentResourceKey ToolWindowTabSelectedInactiveBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabSelectedInactiveBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowTabSelectedInactiveText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabSelectedInactiveText");
+		public static readonly ComponentResourceKey ToolWindowTabUnselectedBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabUnselectedBackground");
+		public static readonly ComponentResourceKey ToolWindowTabUnselectedText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabUnselectedText");
+		public static readonly ComponentResourceKey ToolWindowTabUnselectedHoveredBackground = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabUnselectedHoveredBackground");
+		// AccentColor
+		public static readonly ComponentResourceKey ToolWindowTabUnselectedHoveredText = new ComponentResourceKey(typeof(ResourceKeys), "ToolWindowTabUnselectedHoveredText");
+
+		// Floating Document Window
+		public static readonly ComponentResourceKey FloatingDocumentWindowBackground = new ComponentResourceKey(typeof(ResourceKeys), "FloatingDocumentWindowBackground");
+		public static readonly ComponentResourceKey FloatingDocumentWindowBorder = new ComponentResourceKey(typeof(ResourceKeys), "FloatingDocumentWindowBorder");
+
+		// Floating Tool Window
+		public static readonly ComponentResourceKey FloatingToolWindowBackground = new ComponentResourceKey(typeof(ResourceKeys), "FloatingToolWindowBackground");
+		public static readonly ComponentResourceKey FloatingToolWindowBorder = new ComponentResourceKey(typeof(ResourceKeys), "FloatingToolWindowBorder");
+
+		// Navigator Window
+		public static readonly ComponentResourceKey NavigatorWindowBackground = new ComponentResourceKey(typeof(ResourceKeys), "NavigatorWindowBackground");
+		public static readonly ComponentResourceKey NavigatorWindowForeground = new ComponentResourceKey(typeof(ResourceKeys), "NavigatorWindowForeground");
+
+		// Background of selected text in Navigator Window (AccentColor)
+		public static readonly ComponentResourceKey NavigatorWindowSelectedBackground = new ComponentResourceKey(typeof(ResourceKeys), "NavigatorWindowSelectedBackground");
+		public static readonly ComponentResourceKey NavigatorWindowSelectedText = new ComponentResourceKey(typeof(ResourceKeys), "NavigatorWindowSelectedText");
+
+		#region DockingBrushKeys
+		// Defines the height and width of the docking indicator buttons that are shown when
+		// documents or tool windows are dragged
+		public static readonly ComponentResourceKey DockingButtonWidthKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonWidthKey");
+		public static readonly ComponentResourceKey DockingButtonHeightKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonHeightKey");
+
+		public static readonly ComponentResourceKey DockingButtonBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonBackgroundBrushKey");
+		public static readonly ComponentResourceKey DockingButtonForegroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonForegroundBrushKey");
+		public static readonly ComponentResourceKey DockingButtonForegroundArrowBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonForegroundArrowBrushKey");
+
+		public static readonly ComponentResourceKey DockingButtonStarBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonStarBorderBrushKey");
+		public static readonly ComponentResourceKey DockingButtonStarBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "DockingButtonStarBackgroundBrushKey");
+
+		// Preview Box is the highlighted rectangle that shows when a drop area in a window is indicated
+		public static readonly ComponentResourceKey PreviewBoxBorderBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "PreviewBoxBorderBrushKey");
+		public static readonly ComponentResourceKey PreviewBoxBackgroundBrushKey = new ComponentResourceKey(typeof(ResourceKeys), "PreviewBoxBackgroundBrushKey");
+		#endregion DockingBrushKeys
+		#endregion Brush Keys
+	}
+}

+ 4 - 3
PixiEditor/Views/MainWindow.xaml

@@ -10,7 +10,8 @@
         xmlns:ui="clr-namespace:PixiEditor.Helpers.UI"
         xmlns:ui="clr-namespace:PixiEditor.Helpers.UI"
         xmlns:cmd="http://www.galasoft.ch/mvvmlight" 
         xmlns:cmd="http://www.galasoft.ch/mvvmlight" 
         xmlns:avalondock="https://github.com/Dirkster99/AvalonDock"
         xmlns:avalondock="https://github.com/Dirkster99/AvalonDock"
-        xmlns:colorpicker="clr-namespace:ColorPicker;assembly=ColorPicker" xmlns:usercontrols="clr-namespace:PixiEditor.Views.UserControls" xmlns:behaviours="clr-namespace:PixiEditor.Helpers.Behaviours" xmlns:avalondock1="clr-namespace:PixiEditor.Styles.AvalonDock"
+        xmlns:colorpicker="clr-namespace:ColorPicker;assembly=ColorPicker" xmlns:usercontrols="clr-namespace:PixiEditor.Views.UserControls" xmlns:behaviours="clr-namespace:PixiEditor.Helpers.Behaviours" 
+        xmlns:avalonDockTheme="clr-namespace:PixiEditor.Styles.AvalonDock"
         mc:Ignorable="d" WindowStyle="None" Initialized="MainWindow_Initialized"
         mc:Ignorable="d" WindowStyle="None" Initialized="MainWindow_Initialized"
         Title="PixiEditor" Name="mainWindow" Height="1000" Width="1600" Background="{StaticResource MainColor}"
         Title="PixiEditor" Name="mainWindow" Height="1000" Width="1600" Background="{StaticResource MainColor}"
         WindowStartupLocation="CenterScreen" WindowState="Maximized" DataContext="{DynamicResource ViewModelMain}">
         WindowStartupLocation="CenterScreen" WindowState="Maximized" DataContext="{DynamicResource ViewModelMain}">
@@ -172,7 +173,7 @@
                 <avalondock:DockingManager ActiveContent="{Binding BitmapManager.ActiveDocument, Mode=TwoWay}" 
                 <avalondock:DockingManager ActiveContent="{Binding BitmapManager.ActiveDocument, Mode=TwoWay}" 
                                            DocumentsSource="{Binding BitmapManager.Documents}">
                                            DocumentsSource="{Binding BitmapManager.Documents}">
                     <avalondock:DockingManager.Theme>
                     <avalondock:DockingManager.Theme>
-                        <avalondock1:PixiEditorDockTheme />
+                        <avalonDockTheme:PixiEditorDockTheme />
                     </avalondock:DockingManager.Theme>
                     </avalondock:DockingManager.Theme>
                     <avalondock:DockingManager.LayoutItemContainerStyle>
                     <avalondock:DockingManager.LayoutItemContainerStyle>
                         <Style TargetType="{x:Type avalondock:LayoutItem}">
                         <Style TargetType="{x:Type avalondock:LayoutItem}">
@@ -359,7 +360,7 @@
                     </avalondock:LayoutPanel>
                     </avalondock:LayoutPanel>
                 </avalondock:LayoutRoot>
                 </avalondock:LayoutRoot>
                 <avalondock:DockingManager.Theme>
                 <avalondock:DockingManager.Theme>
-                    <avalondock1:PixiEditorDockTheme />
+                    <avalonDockTheme:PixiEditorDockTheme />
                 </avalondock:DockingManager.Theme>
                 </avalondock:DockingManager.Theme>
             </avalondock:DockingManager>
             </avalondock:DockingManager>
         </Grid>
         </Grid>

+ 4 - 4
PixiEditorTests/PixiEditorTests.csproj

@@ -18,13 +18,13 @@
   </ItemGroup>
   </ItemGroup>
 
 
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="Codecov" Version="1.12.3" />
-    <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1">
+    <PackageReference Include="Codecov" Version="1.12.4" />
+    <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2">
       <PrivateAssets>all</PrivateAssets>
       <PrivateAssets>all</PrivateAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
     </PackageReference>
     </PackageReference>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
-    <PackageReference Include="Moq" Version="4.15.2" />
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
+    <PackageReference Include="Moq" Version="4.16.0" />
     <PackageReference Include="OpenCover" Version="4.7.922" />
     <PackageReference Include="OpenCover" Version="4.7.922" />
     <PackageReference Include="xunit" Version="2.4.1" />
     <PackageReference Include="xunit" Version="2.4.1" />
     <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
     <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">