JD2022-TU1/main/tools/apps/Monolith/MonolithResources.xaml

49 lines
No EOL
2.7 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:core="clr-namespace:System;assembly=mscorlib"
xmlns:my="clr-namespace:Monolith"
xmlns:view="clr-namespace:Monolith.View"
xmlns:dockspec="clr-namespace:UAF.Docking.Avalon;assembly=UAF.Docking.Avalon"
xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"
>
<!-- Configuration for AvalonDock -->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/UAF.WPF;component/Themes/Generic.xaml" />
<ResourceDictionary Source="pack://application:,,,/UAF.WPF;component/Resources.xaml" />
<ResourceDictionary Source="pack://application:,,,/UAF.IconLibrary;component/Resources.xaml" />
<ResourceDictionary Source="pack://application:,,,/UAF.Application;component/Resources.xaml" />
<ResourceDictionary Source="pack://application:,,,/UAF.Docking.Avalon;component/Resources.xaml" />
</ResourceDictionary.MergedDictionaries>
<my:MonolithLayoutInitializer x:Key="MonolithLayoutInitializer" />
<my:MonolithTemplateSelector x:Key="MonolithTemplateSelector">
<my:MonolithTemplateSelector.HostedProcessViewTemplate>
<DataTemplate>
<view:HostedProcessView />
</DataTemplate>
</my:MonolithTemplateSelector.HostedProcessViewTemplate>
</my:MonolithTemplateSelector>
<dockspec:LayoutRootContainer x:Key="MonolithLayoutRootContainer">
<dockspec:LayoutRootContainer.LayoutRoot>
<avalonDock:LayoutRoot>
<avalonDock:LayoutPanel Orientation="Vertical">
<avalonDock:LayoutDocumentPane />
</avalonDock:LayoutPanel>
</avalonDock:LayoutRoot>
</dockspec:LayoutRootContainer.LayoutRoot>
</dockspec:LayoutRootContainer>
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockBaseStyle}" />
<Style TargetType="TextBox" BasedOn="{StaticResource TextBoxBaseStyle}" />
<Style TargetType="ToggleButton" BasedOn="{StaticResource FlatToggleButtonStyle}" />
<Style TargetType="ListView" BasedOn="{StaticResource ListViewBaseStyle}" />
<Style TargetType="ListBox" BasedOn="{StaticResource ListBoxBaseStyle}" />
<Style TargetType="GridViewColumnHeader" BasedOn="{StaticResource GridViewColumnHeaderBaseStyle}" />
<Style TargetType="ToolBar" BasedOn="{StaticResource ToolBarBaseStyle}" />
<Style TargetType="ToolBarTray" BasedOn="{StaticResource ToolBarTrayBaseStyle}" />
</ResourceDictionary>