<controls:MaterialWindow x:Class="Artemis.UI.Screens.Settings.Tabs.Plugins.PluginSettingsWindowView"
                         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                         xmlns:local="clr-namespace:Artemis.UI.Screens.Settings.Tabs.Plugins"
                         xmlns:controls="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
                         xmlns:s="https://github.com/canton7/Stylet"
                         xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
                         xmlns:shared="clr-namespace:Artemis.UI.Shared;assembly=Artemis.UI.Shared"
                         mc:Ignorable="d"
                         Title="Plugin Configuration | Artemis"
                         Background="{DynamicResource MaterialDesignPaper}"
                         FontFamily="pack://application:,,,/MaterialDesignThemes.Wpf;component/Resources/Roboto/#Roboto"
                         UseLayoutRounding="True"
                         Width="800"
                         Height="800"
                         d:DesignHeight="800"
                         d:DesignWidth="800"
                         d:DataContext="{d:DesignInstance local:PluginSettingsWindowViewModel}"
                         Icon="/Resources/Images/Logo/bow.ico">
    <materialDesign:DialogHost IsTabStop="False"
                               Focusable="False"
                               Identifier="PluginSettingsDialog"
                               DialogTheme="Inherit">
        <DockPanel>
            <controls:AppBar Type="Dense" Title="{Binding  ActiveItem.Plugin.Info.Name}" DockPanel.Dock="Top" Margin="-18 0 0 0" ShowShadow="False">
                <controls:AppBar.AppIcon>
                    <shared:ArtemisIcon Icon="{Binding Plugin.Info.ResolvedIcon}"
                                        Margin="0 5 0 0"
                                        Width="20"
                                        Height="20"
                                        Grid.Row="0"
                                        Grid.RowSpan="3"
                                        HorizontalAlignment="Center"
                                        VerticalAlignment="Top" />
                </controls:AppBar.AppIcon>
            </controls:AppBar>

            <ContentControl s:View.Model="{Binding ActiveItem}" />
        </DockPanel>
    </materialDesign:DialogHost>
</controls:MaterialWindow>