<Controls:MetroWindow
    x:Class="Vulnerator.View.UI.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
    xmlns:Dialog="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
    xmlns:IconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:dat="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
    xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
    xmlns:Converter="clr-namespace:Vulnerator.View.Converter"
    xmlns:v="clr-namespace:Vulnerator.View"
    xmlns:Validation="clr-namespace:Vulnerator.View.Validation"
    xmlns:ViewHelper="clr-namespace:Vulnerator.View.ViewHelper"
    xmlns:vm="clr-namespace:Vulnerator.ViewModel"
    x:Name="winMain"
    Title="Vulnerator"
    MinWidth="750"
    MinHeight="300"
    HorizontalContentAlignment="Stretch"
    VerticalContentAlignment="Stretch"
    d:DesignHeight="1500"
    d:DesignWidth="1000"
    BorderBrush="{DynamicResource AccentColorBrush}"
    BorderThickness="1"
    DataContext="{StaticResource MainWindowViewModel}"
    GlowBrush="{DynamicResource AccentColorBrush}"
    Icon="/Vulnerator;component/Resources/chart.ico"
    KeyboardNavigation.TabNavigation="Continue"
    ResizeMode="CanResize"
    mc:Ignorable="d">

    <!--<Controls:MetroWindow.Resources>
        <ViewHelper:MyXmlDataProvider
            x:Key="XmlConfig"
            IsAsynchronous="False"
            IsInitialLoadEnabled="True" />
        <Converter:StringToBoolConverter x:Key="StringToBool" />
        <Converter:CustomMultiValueConverter x:Key="CommandConverter" />
        <Converter:StringSeparatorConverter x:Key="StringSeparator" />
        <Converter:StringJoiningConverter x:Key="StringJoiner" />
        <Converter:EmailTextLabelStringJoiner x:Key="EmailTextLabelJoiner" />
        <Converter:EmailPersonnelLabelJoiner x:Key="EmailPersonnelLabelJoiner" />
        <Converter:ContactInfoSeparatorConverter x:Key="ContactInfoStringSeparator" />
        <Converter:ObtainFirstSplitStringValueConverter x:Key="ObtainFirstStringValue" />
        <Converter:ObtainSecondSplitStringValueConverter x:Key="ObtainSecondStringValue" />
        <Converter:ObtainThirdSplitStringValueConverter x:Key="ObtainThirdStringValue" />
        <Converter:UpdateSystemGroupConverter x:Key="UpdateSystemGroupConverter" />
        <Converter:UpdateSystemConverter x:Key="UpdateSystemConverter" />

        <ViewHelper:AutoRefreshCollectionViewSource x:Key="SystemGroupListCollectionViewSource" Source="{Binding SystemGroupList}">
            <ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="GroupName" />
            </ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
        </ViewHelper:AutoRefreshCollectionViewSource>

        <ViewHelper:AutoRefreshCollectionViewSource x:Key="MonitoredSystemListCollectionViewSource" Source="{Binding MonitoredSystemList}">
            <ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="SystemNameAndIp" />
            </ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
        </ViewHelper:AutoRefreshCollectionViewSource>

        <ViewHelper:AutoRefreshCollectionViewSource x:Key="MonitoredSystemListForUpdatingCollectionViewSource" Source="{Binding MonitoredSystemListForUpdating}">
            <ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="SystemGroupAndNameAndIp" />
            </ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
        </ViewHelper:AutoRefreshCollectionViewSource>

        <ViewHelper:AutoRefreshCollectionViewSource x:Key="ContactTitleListCollectionViewSource" Source="{Binding ContactTitleList}">
            <ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="ContactTitleName" />
            </ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
        </ViewHelper:AutoRefreshCollectionViewSource>

        <ViewHelper:AutoRefreshCollectionViewSource x:Key="SystemGroupListForUpdatingCollectionViewSource" Source="{Binding SystemGroupListForUpdating}">
            <ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
                <scm:SortDescription PropertyName="GroupName" />
            </ViewHelper:AutoRefreshCollectionViewSource.SortDescriptions>
        </ViewHelper:AutoRefreshCollectionViewSource>
    </Controls:MetroWindow.Resources>-->

    <Controls:MetroWindow.IconTemplate>
        <DataTemplate>
            <IconPacks:PackIconModern
                Width="{TemplateBinding Width}"
                Height="{TemplateBinding Height}"
                Margin="4"
                Foreground="{DynamicResource IdealForegroundColorBrush}"
                Kind="GraphBar" />
        </DataTemplate>
    </Controls:MetroWindow.IconTemplate>

    <Controls:MetroWindow.TitleTemplate>
        <DataTemplate>
            <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
                <TextBlock
                    Margin="5,0"
                    VerticalAlignment="Center"
                    FontFamily="{DynamicResource HeaderFontFamily}"
                    FontSize="{DynamicResource WindowTitleFontSize}"
                    Text="{TemplateBinding Content}"
                    TextTrimming="CharacterEllipsis" />
                <Controls:WindowCommands ShowLastSeparator="False">
                    <Button
                        x:Name="projectButton"
                        Command="{Binding AboutLinksCommand}"
                        CommandParameter="{Binding Path=Name, RelativeSource={RelativeSource Self}}"
                        Content="{IconPacks:PackIconOcticons Bookmark}"
                        DataContext="{StaticResource MainWindowViewModel}"
                        ToolTip="GitHub Project Page" />
                    <Button
                        x:Name="githubButton"
                        Command="{Binding AboutLinksCommand}"
                        CommandParameter="{Binding Path=Name, RelativeSource={RelativeSource Self}}"
                        Content="{IconPacks:PackIconOcticons Octoface}"
                        DataContext="{StaticResource MainWindowViewModel}"
                        ToolTip="GitHub Repository" />
                    <Button
                        x:Name="wikiButton"
                        Command="{Binding AboutLinksCommand}"
                        CommandParameter="{Binding Path=Name, RelativeSource={RelativeSource Self}}"
                        Content="{IconPacks:PackIconOcticons Book}"
                        DataContext="{StaticResource MainWindowViewModel}"
                        ToolTip="Wiki" />
                    <Button
                        x:Name="issueButton"
                        Command="{Binding AboutLinksCommand}"
                        CommandParameter="{Binding Path=Name, RelativeSource={RelativeSource Self}}"
                        Content="{IconPacks:PackIconOcticons IssueOpened}"
                        DataContext="{StaticResource MainWindowViewModel}"
                        ToolTip="Issues" />
                </Controls:WindowCommands>
            </StackPanel>
        </DataTemplate>
    </Controls:MetroWindow.TitleTemplate>

    <Controls:MetroWindow.WindowButtonCommands>
        <Controls:WindowButtonCommands Template="{DynamicResource MahApps.Metro.Templates.WindowButtonCommands.Win10}" />
    </Controls:MetroWindow.WindowButtonCommands>


    <!--  Buttons at the top of the window for Theme, About, and News  -->
    <Controls:MetroWindow.RightWindowCommands>
        <Controls:WindowCommands>
            <Button
                x:Name="bNews"
                Command="{Binding HandleFlyoutsCommand}"
                CommandParameter="{Binding Path=Content, RelativeSource={RelativeSource Self}}"
                Content="news" />
            <Button
                x:Name="bAbout"
                Command="{Binding HandleFlyoutsCommand}"
                CommandParameter="{Binding Path=Content, RelativeSource={RelativeSource Self}}"
                Content="about" />
            <Button
                x:Name="bTheme"
                Command="{Binding HandleFlyoutsCommand}"
                CommandParameter="{Binding Path=Content, RelativeSource={RelativeSource Self}}"
                Content="theme" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.RightWindowCommands>

    <!--  Flyout Control  --><!--
    <Controls:MetroWindow.Flyouts>
        <Controls:FlyoutsControl>
            --><!--  News Flyout  --><!--
            <Controls:Flyout
                x:Name="flyNews"
                Height="Auto"
                HorizontalAlignment="Left"
                Header="News"
                IsModal="True"
                IsOpen="{Binding NewsFlyoutIsOpen}"
                IsPinned="False"
                Position="Top"
                Theme="Adapt">
                <Grid Width="Auto" Height="Auto">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="40" />
                        <RowDefinition Height="30" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <Label
                        Grid.Column="1"
                        Content="Release Updates"
                        Style="{DynamicResource styleDescriptionHeader}" />
                    <Label
                        Grid.Row="0"
                        Content="Open Issues"
                        Style="{DynamicResource styleDescriptionHeader}" />
                    <StackPanel Grid.Row="1" Orientation="Horizontal">
                        <Label Content="Open Issue Count: " />
                        <Label Content="{Binding IssueList.Count}" />
                    </StackPanel>
                    <StackPanel
                        Grid.Row="1"
                        Grid.Column="1"
                        Orientation="Horizontal">
                        <Label Content="Release Count: " />
                        <Label Content="{Binding ReleaseList.Count}" />
                    </StackPanel>
                    <ListBox
                        Grid.Row="2"
                        Margin="5,0,5,5"
                        IsSynchronizedWithCurrentItem="True"
                        ItemsSource="{Binding IssueList}"
                        ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                        ScrollViewer.VerticalScrollBarVisibility="Auto">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <Grid Margin="0,0,0,30" HorizontalAlignment="Stretch">
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <TextBlock
                                        Grid.Row="0"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        FontSize="24"
                                        Text="{Binding Title}"
                                        TextWrapping="Wrap" />
                                    <StackPanel
                                        Grid.Row="1"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        Orientation="Horizontal">
                                        <IconPacks:PackIconMaterial Kind="Pound" ToolTip="Issue Number" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding Number}" />
                                        <TextBlock HorizontalAlignment="Left" Text="     |     " />
                                        <IconPacks:PackIconMaterial Kind="CommentMultipleOutline" ToolTip="Comments" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding Comments}" />
                                        <TextBlock HorizontalAlignment="Left" Text="     |     " />
                                        <IconPacks:PackIconOcticons Kind="Milestone" ToolTip="MileStone" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding Milestone}" />
                                    </StackPanel>
                                    <TextBlock
                                        Grid.Row="2"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        Text="{Binding Body}"
                                        TextWrapping="Wrap" />
                                    <StackPanel
                                        Grid.Row="3"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        Orientation="Horizontal">
                                        <IconPacks:PackIconOcticons Kind="Octoface" />
                                        <TextBlock
                                            HorizontalAlignment="Stretch"
                                            Style="{StaticResource styleHyperlinkTextBlock}"
                                            Text=" View on GitHub"
                                            TextWrapping="Wrap">
                                            <TextBlock.InputBindings>
                                                <MouseBinding
                                                    Command="{Binding GitHubLinksCommand}"
                                                    CommandParameter="{Binding HtmlUrl}"
                                                    MouseAction="LeftClick" />
                                            </TextBlock.InputBindings>
                                        </TextBlock>
                                    </StackPanel>
                                </Grid>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
                    <ListBox
                        Grid.Row="2"
                        Grid.Column="1"
                        Margin="5,0,5,5"
                        IsSynchronizedWithCurrentItem="True"
                        ItemsSource="{Binding ReleaseList}"
                        ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                        ScrollViewer.VerticalScrollBarVisibility="Auto">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <Grid Margin="0,0,0,30" HorizontalAlignment="Stretch">
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <TextBlock
                                        Grid.Row="0"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        FontSize="24"
                                        Text="{Binding Name}"
                                        TextWrapping="Wrap" />
                                    <StackPanel
                                        Grid.Row="1"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        Orientation="Horizontal">
                                        <IconPacks:PackIconMaterial Kind="Tag" ToolTip="Tag" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding TagName}" />
                                        <TextBlock HorizontalAlignment="Left" Text="     |     " />
                                        <IconPacks:PackIconOcticons Kind="Calendar" ToolTip="Date Created" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding CreatedAt}" />
                                        <TextBlock HorizontalAlignment="Left" Text="     |     " />
                                        <IconPacks:PackIconOcticons Kind="DesktopDownload" ToolTip="Download Count" />
                                        <TextBlock HorizontalAlignment="Left" Text=" : " />
                                        <TextBlock HorizontalAlignment="Left" Text="{Binding Downloads}" />
                                    </StackPanel>
                                    <StackPanel
                                        Grid.Row="2"
                                        Margin="0,0,0,5"
                                        HorizontalAlignment="Stretch"
                                        Orientation="Horizontal">
                                        <IconPacks:PackIconOcticons Kind="Octoface" />
                                        <TextBlock
                                            HorizontalAlignment="Stretch"
                                            Style="{StaticResource styleHyperlinkTextBlock}"
                                            Text=" View on GitHub"
                                            TextWrapping="Wrap">
                                            <TextBlock.InputBindings>
                                                <MouseBinding
                                                    Command="{Binding GitHubLinksCommand}"
                                                    CommandParameter="{Binding HtmlUrl}"
                                                    MouseAction="LeftClick" />
                                            </TextBlock.InputBindings>
                                        </TextBlock>
                                    </StackPanel>
                                </Grid>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
                </Grid>
            </Controls:Flyout>
            --><!--  About Flyout  --><!--
            <Controls:Flyout
                x:Name="flyAbout"
                Height="Auto"
                HorizontalAlignment="Left"
                Header="About"
                IsModal="True"
                IsOpen="{Binding AboutFlyoutIsOpen}"
                IsPinned="False"
                Position="Left"
                Theme="Adapt">
                <StackPanel
                    Width="Auto"
                    Height="Auto"
                    Margin="5,0"
                    HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch">
                    <Grid
                        Width="Auto"
                        Height="Auto"
                        Margin="0,0,0,10"
                        HorizontalAlignment="Left">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="100" />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Image
                            Grid.RowSpan="3"
                            Height="80"
                            Margin="0,5,0,0"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"
                            Source="pack://application:,,,/Resources/chart.ico" />
                        <Label
                            Grid.Column="1"
                            HorizontalAlignment="Left"
                            VerticalAlignment="Top"
                            Content="Vulnerator"
                            Style="{StaticResource styleDescriptionHeader}" />
                        <Grid Grid.Row="1" Grid.Column="1">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Label
                                HorizontalAlignment="Left"
                                VerticalAlignment="Top"
                                Content="Version:"
                                Style="{StaticResource styleSecondLevelHeader}" />
                            <Label
                                Grid.Column="1"
                                Width="Auto"
                                Height="Auto"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Top"
                                Content="{Binding FileVersion}"
                                Style="{StaticResource styleSecondLevelHeader}" />
                        </Grid>
                        <TextBlock
                            Name="tbKcs"
                            Grid.Row="2"
                            Grid.Column="1"
                            Margin="5,0"
                            VerticalAlignment="Top"
                            Style="{StaticResource styleHyperlinkTextBlock}"
                            Text="Maintained by Kuchta Creative Services, LLC"
                            TextWrapping="NoWrap">
                            <TextBlock.InputBindings>
                                <MouseBinding
                                    Command="{Binding AboutLinksCommand}"
                                    CommandParameter="{Binding ElementName=tbKcs, Path=Name}"
                                    MouseAction="LeftClick" />
                            </TextBlock.InputBindings>
                        </TextBlock>
                    </Grid>
                    <Label
                        Height="30"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Content="Credits"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <TextBlock
                        Name="tbAlex"
                        Margin="5,0"
                        Style="{StaticResource styleHyperlinkTextBlock}"
                        Text="Alex Kuchta - Redesign, ACAS Integration"
                        TextWrapping="NoWrap">
                        <TextBlock.InputBindings>
                            <MouseBinding
                                Command="{Binding AboutLinksCommand}"
                                CommandParameter="{Binding ElementName=tbAlex, Path=Name}"
                                MouseAction="LeftClick" />
                        </TextBlock.InputBindings>
                    </TextBlock>
                    <TextBlock
                        Name="tbJeffV"
                        Margin="5,0"
                        Style="{StaticResource styleHyperlinkTextBlock}"
                        Text="Jeff Vanerwegen - WASSP, SCAP, CKL Integration"
                        TextWrapping="NoWrap">
                        <TextBlock.InputBindings>
                            <MouseBinding
                                Command="{Binding AboutLinksCommand}"
                                CommandParameter="{Binding ElementName=tbJeffV, Path=Name}"
                                MouseAction="LeftClick" />
                        </TextBlock.InputBindings>
                    </TextBlock>
                    <TextBlock
                        Name="tbRick"
                        Margin="5,0"
                        Style="{StaticResource styleHyperlinkTextBlock}"
                        Text="Rick Murphy - POA&amp;M Integration"
                        TextWrapping="NoWrap">
                        <TextBlock.InputBindings>
                            <MouseBinding
                                Command="{Binding AboutLinksCommand}"
                                CommandParameter="{Binding ElementName=tbRick, Path=Name}"
                                MouseAction="LeftClick" />
                        </TextBlock.InputBindings>
                    </TextBlock>
                    <TextBlock
                        Name="tbJeffP"
                        Margin="5,0"
                        Style="{StaticResource styleHyperlinkTextBlock}"
                        Text="Jeff Purcell - Creator"
                        TextWrapping="NoWrap">
                        <TextBlock.InputBindings>
                            <MouseBinding
                                Command="{Binding AboutLinksCommand}"
                                CommandParameter="{Binding ElementName=tbJeffP, Path=Name}"
                                MouseAction="LeftClick" />
                        </TextBlock.InputBindings>
                    </TextBlock>
                    <Label
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Content="Description"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <TextBlock
                        Margin="5,0"
                        VerticalAlignment="Top"
                        Text="Aggregates data from the following sources: &#10;- ACAS CSV / Nessus Reports &#10;- DISA STIG Viewer Checklists &#10;- WASSP Mitigation / XACTA Reports &#10;- SCC / ACAS SCAP Benchmarks"
                        TextWrapping="Wrap" />
                </StackPanel>
            </Controls:Flyout>
            --><!--  Theme Manager Flyout  --><!--
            <Controls:Flyout
                x:Name="flyThemeManager"
                Height="147"
                HorizontalAlignment="Left"
                Header="Theme"
                IsModal="True"
                IsOpen="{Binding ThemeFlyoutIsOpen}"
                IsPinned="False"
                Position="Bottom"
                Theme="Adapt">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height=".75*" />
                        <RowDefinition />
                        <RowDefinition Height=".75*" />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <StackPanel
                        Grid.Row="0"
                        Width="164"
                        Height="37"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top">
                        <Label Content="Background Color" Style="{StaticResource styleSecondLevelHeader}" />
                    </StackPanel>
                    <StackPanel
                        Grid.Row="1"
                        Width="164"
                        Height="83"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top">
                        <ComboBox
                            x:Name="comboboxTheme"
                            Width="159"
                            Margin="5,5,0,0"
                            HorizontalAlignment="Left">
                            <ComboBoxItem
                                x:Name="comboboxitemLightTheme"
                                HorizontalAlignment="Left"
                                Content="Light Theme"
                                Selected="ChangeTheme" />
                            <ComboBoxItem
                                x:Name="comboboxitemDarkTheme"
                                HorizontalAlignment="Left"
                                Content="Dark Theme"
                                Selected="ChangeTheme" />
                        </ComboBox>
                    </StackPanel>
                    <StackPanel
                        Grid.Row="2"
                        Width="544"
                        Height="37"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top">
                        <Label Content="Accent Color" Style="{StaticResource styleSecondLevelHeader}" />
                    </StackPanel>
                    <StackPanel
                        Grid.Row="3"
                        Height="38"
                        Orientation="Horizontal">
                        <Rectangle
                            x:Name="rectPink"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFF472D0"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Pink" />
                        <Rectangle
                            x:Name="rectMagenta"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFD80073"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Magenta" />
                        <Rectangle
                            x:Name="rectCrimson"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFA20025"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Crimson" />
                        <Rectangle
                            x:Name="rectRed"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFE51400"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Red" />
                        <Rectangle
                            x:Name="rectOrange"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFFA6800"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Orange" />
                        <Rectangle
                            x:Name="rectAmber"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFF0A30A"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Amber" />
                        <Rectangle
                            x:Name="rectYellow"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFE3C800"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Yellow" />
                        <Rectangle
                            x:Name="rectSienna"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFA0522D"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Sienna" />
                        <Rectangle
                            x:Name="rectBrown"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF825A2C"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Brown" />
                        <Rectangle
                            x:Name="rectOlive"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF6D8764"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Olive" />
                        <Rectangle
                            x:Name="rectLime"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFA4C400"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Lime" />
                        <Rectangle
                            x:Name="rectGreen"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF60A917"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Green" />
                        <Rectangle
                            x:Name="rectEmerald"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF008A00"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Emerald" />
                        <Rectangle
                            x:Name="rectTeal"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF00ABA9"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Teal" />
                        <Rectangle
                            x:Name="rectCyan"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF1BA1E2"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Cyan" />
                        <Rectangle
                            x:Name="rectSteel"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF647687"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Steel" />
                        <Rectangle
                            x:Name="rectCobalt"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF0050EF"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Cobalt" />
                        <Rectangle
                            x:Name="rectIndigo"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF6A00FF"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Indigo" />
                        <Rectangle
                            x:Name="rectViolet"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FFAA00FF"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Violet" />
                        <Rectangle
                            x:Name="rectMauve"
                            Width="26"
                            Height="26"
                            Margin="5,0,0,0"
                            Fill="#FF76608A"
                            MouseLeftButtonDown="SetAccentColor"
                            Stroke="Transparent"
                            ToolTip="Mauve" />
                    </StackPanel>
                </Grid>
            </Controls:Flyout>
            --><!--  Mitigations.txt Import Flyout  --><!--
            <Controls:Flyout
                x:Name="flyMitigations"
                Width="400"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Header="Import"
                IsModal="True"
                IsOpen="{Binding ImportFlyoutIsOpen}"
                IsPinned="False"
                Position="Right"
                Theme="Adapt">
                <Grid Width="Auto" Height="Auto">
                    <StackPanel>
                        <TextBox
                            x:Name="tbMitLocation"
                            Margin="10,5,10,0"
                            VerticalAlignment="Top"
                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                            Controls:TextBoxHelper.Watermark="&quot;Mitigations.txt&quot; Location"
                            Text="{Binding ImportMitigationTextFileName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                            TextWrapping="Wrap" />
                        <Button
                            x:Name="bMitBrowse"
                            Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                            Margin="10,5,10,0"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Top"
                            Command="{Binding MitigationsDotTxtBrowseDialogCommand}"
                            Content="Browse"
                            FontSize="12"
                            Style="{StaticResource MetroFlatButton}" />
                        <Label
                            Margin="5,0,0,0"
                            Content="Mitigation Group"
                            Style="{StaticResource ResourceKey=styleSecondLevelHeader}" />
                        <ComboBox
                            x:Name="comboboxImportGroup"
                            Margin="10,0,10,0"
                            Controls:TextBoxHelper.ClearTextButton="True"
                            Controls:TextBoxHelper.Watermark="Group Name"
                            DisplayMemberPath="GroupName"
                            IsEditable="True"
                            IsEnabled="{Binding IsEnabled}"
                            ItemsSource="{Binding SystemGroupList}"
                            Text="{Binding AddMitigationGroupName}" />
                        <Label
                            Margin="5,5,0,0"
                            Content="Vulnerability Status"
                            Style="{StaticResource ResourceKey=styleSecondLevelHeader}" />
                        <ComboBox
                            x:Name="comboboxImportStatus"
                            Margin="10,0"
                            Controls:TextBoxHelper.ClearTextButton="True"
                            Controls:TextBoxHelper.Watermark="Status"
                            DisplayMemberPath="Item"
                            IsEditable="True"
                            ItemsSource="{Binding StatusItemList}"
                            SelectedValue="{Binding AddMitigationStatus}"
                            SelectedValuePath="Item" />
                        <Button
                            x:Name="bMitTxtImport"
                            Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                            Margin="10,5,10,0"
                            HorizontalAlignment="Right"
                            Command="{Binding ImportMitigationsCommand}"
                            Content="Import"
                            FontSize="12"
                            Style="{StaticResource MetroFlatButton}" />
                    </StackPanel>
                </Grid>
            </Controls:Flyout>
            --><!--  IAVM Compliance Advanced Settings Flyout  --><!--
            <Controls:Flyout
                x:Name="flyIavmSettings"
                Width="1125.5"
                HorizontalAlignment="Right"
                VerticalAlignment="Top"
                Header="Options"
                IsModal="True"
                IsOpen="{Binding AdvancedFlyoutIsOpen}"
                IsPinned="False"
                Position="Left"
                Theme="Adapt">
                <Grid Height="Auto" Margin="5,0,0,0">
                    <Label
                        Width="242"
                        Height="41"
                        VerticalAlignment="Top"
                        Content="IAVM Age Filters"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleDescriptionHeader}" />
                    <Label
                        Width="232"
                        Height="31"
                        Margin="0,41,0,0"
                        VerticalAlignment="Top"
                        Content="Age Filter One"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <Label
                        Width="232"
                        Height="31"
                        Margin="0,94,0,0"
                        VerticalAlignment="Top"
                        Content="Age Filter Two"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <Label
                        Width="232"
                        Height="31"
                        Margin="0,147,0,0"
                        VerticalAlignment="Top"
                        Content="Age Filter Three"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <Label
                        Width="232"
                        Height="31"
                        Margin="0,204,0,0"
                        VerticalAlignment="Top"
                        Content="Age Filter Four"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleSecondLevelHeader}" />
                    <Slider
                        x:Name="iavmFilterOne"
                        Width="149"
                        Height="22"
                        Margin="5,76,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        IsSnapToTickEnabled="True"
                        Maximum="120"
                        Minimum="0"
                        TickFrequency="1"
                        Value="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmEmailOptionsFlyout/iavmFilterOne}">
                        --><!--<i:Interaction.Triggers>
                            <i:EventTrigger EventName="PreviewMouseUp">
                                <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                    <i:InvokeCommandAction.CommandParameter>
                                        <MultiBinding Converter="{StaticResource CommandConverter}">
                                            <Binding ElementName="iavmFilterOne" Path="Name" />
                                            <Binding ElementName="iavmFilterOne" Path="Value" />
                                        </MultiBinding>
                                    </i:InvokeCommandAction.CommandParameter>
                                </i:InvokeCommandAction>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>--><!--
                    </Slider>
                    <Slider
                        x:Name="iavmFilterTwo"
                        Width="149"
                        Height="22"
                        Margin="5,129,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        IsSnapToTickEnabled="True"
                        Maximum="120"
                        Minimum="0"
                        TickFrequency="1"
                        Value="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmEmailOptionsFlyout/iavmFilterTwo}">
                        --><!--<i:Interaction.Triggers>
                            <i:EventTrigger EventName="PreviewMouseUp">
                                <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                    <i:InvokeCommandAction.CommandParameter>
                                        <MultiBinding Converter="{StaticResource CommandConverter}">
                                            <Binding ElementName="iavmFilterTwo" Path="Name" />
                                            <Binding ElementName="iavmFilterTwo" Path="Value" />
                                        </MultiBinding>
                                    </i:InvokeCommandAction.CommandParameter>
                                </i:InvokeCommandAction>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>--><!--
                    </Slider>
                    <Slider
                        x:Name="iavmFilterThree"
                        Width="149"
                        Height="22"
                        Margin="5,182,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        IsSnapToTickEnabled="True"
                        Maximum="120"
                        Minimum="0"
                        TickFrequency="1"
                        Value="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmEmailOptionsFlyout/iavmFilterThree}">
                        --><!--<i:Interaction.Triggers>
                            <i:EventTrigger EventName="PreviewMouseUp">
                                <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                    <i:InvokeCommandAction.CommandParameter>
                                        <MultiBinding Converter="{StaticResource CommandConverter}">
                                            <Binding ElementName="iavmFilterThree" Path="Name" />
                                            <Binding ElementName="iavmFilterThree" Path="Value" />
                                        </MultiBinding>
                                    </i:InvokeCommandAction.CommandParameter>
                                </i:InvokeCommandAction>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>--><!--
                    </Slider>
                    <Slider
                        x:Name="iavmFilterFour"
                        Width="149"
                        Height="22"
                        Margin="5,239,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        IsSnapToTickEnabled="True"
                        Maximum="120"
                        Minimum="0"
                        TickFrequency="1"
                        Value="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmEmailOptionsFlyout/iavmFilterFour}">
                        --><!--<i:Interaction.Triggers>
                            <i:EventTrigger EventName="PreviewMouseUp">
                                <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                    <i:InvokeCommandAction.CommandParameter>
                                        <MultiBinding Converter="{StaticResource CommandConverter}">
                                            <Binding ElementName="iavmFilterFour" Path="Name" />
                                            <Binding ElementName="iavmFilterFour" Path="Value" />
                                        </MultiBinding>
                                    </i:InvokeCommandAction.CommandParameter>
                                </i:InvokeCommandAction>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>--><!--
                    </Slider>
                    <Label
                        Width="73"
                        Height="26"
                        Margin="159,72,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        HorizontalContentAlignment="Right"
                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterOne}" />
                    <Label
                        Width="73"
                        Height="26"
                        Margin="159,125,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        HorizontalContentAlignment="Right"
                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterTwo}" />
                    <Label
                        Width="73"
                        Height="26"
                        Margin="159,178,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        HorizontalContentAlignment="Right"
                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterThree}" />
                    <Label
                        Width="73"
                        Height="26"
                        Margin="159,235,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        HorizontalContentAlignment="Right"
                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterFour}" />
                    <Label
                        Width="415"
                        Height="39"
                        Margin="265,0,0,0"
                        VerticalAlignment="Top"
                        Content="Email Notification Text"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleDescriptionHeader}" />
                    <Label
                        Height="39"
                        Margin="685,0,10,0"
                        HorizontalAlignment="Stretch"
                        VerticalAlignment="Top"
                        Content="Email Personnel Inclusion Preference"
                        KeyboardNavigation.IsTabStop="False"
                        Style="{StaticResource styleDescriptionHeader}" />
                    <Border
                        Width="410"
                        Height="Auto"
                        Margin="265,39,0,10"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        BorderBrush="#FFCCCCCC"
                        BorderThickness="1">
                        <ScrollViewer Width="Auto" Height="Auto">
                            <Grid Width="Auto" Height="Auto">
                                <Label
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterOne}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    Height="111"
                                    Margin="5,31,5,0"
                                    VerticalAlignment="Top"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.Watermark="First IAVM filter email notification text &#10;(Maximum 2000 characters)"
                                    AcceptsReturn="True"
                                    MaxLength="2000"
                                    SpellCheck.IsEnabled="True"
                                    TextWrapping="Wrap" />
                                <Label Margin="0,147,235,626" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="169,147,120,626"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="284,147,5,626"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,173,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterTwo}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    Height="111"
                                    Margin="5,204,5,0"
                                    VerticalAlignment="Top"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.Watermark="Second IAVM filter email notification text &#10;(Maximum 2000 characters)"
                                    AcceptsReturn="True"
                                    MaxLength="2000"
                                    SpellCheck.IsEnabled="True"
                                    TextWrapping="Wrap" />
                                <Label Margin="0,320,235,453" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="169,320,120,453"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="284,320,5,453"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,346,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterThree}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    Height="111"
                                    Margin="5,377,5,0"
                                    VerticalAlignment="Top"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.Watermark="Third IAVM filter email notification text &#10;(Maximum 2000 characters)"
                                    AcceptsReturn="True"
                                    MaxLength="2000"
                                    SpellCheck.IsEnabled="True"
                                    TextWrapping="Wrap" />
                                <Label Margin="0,493,235,280" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="169,493,120,280"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="284,493,5,280"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,519,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterFour}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    Height="111"
                                    Margin="5,550,5,0"
                                    VerticalAlignment="Top"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.Watermark="Third IAVM filter email notification text &#10;(Maximum 2000 characters)"
                                    AcceptsReturn="True"
                                    MaxLength="2000"
                                    SpellCheck.IsEnabled="True"
                                    TextWrapping="Wrap" />
                                <Label Margin="0,666,235,107" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="169,666,120,107"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="284,666,5,107"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                            </Grid>
                        </ScrollViewer>
                    </Border>
                    <Border
                        Width="426"
                        Height="Auto"
                        Margin="685,39,0,10"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        BorderBrush="#FFCCCCCC"
                        BorderThickness="1">
                        <ScrollViewer Width="Auto" Height="Auto">
                            <Grid Width="Auto" Height="Auto">
                                <Label
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterOne}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Label Margin="0,147,235,626" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="180,147,120,626"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="295,147,5,626"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,173,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterTwo}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Label Margin="0,320,235,453" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="180,320,120,453"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="295,320,5,453"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,346,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterThree}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Label Margin="0,493,235,280" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="180,493,120,280"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="295,493,5,280"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Label
                                    Margin="0,519,0,0"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterFour}"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Label Margin="0,666,235,107" Content="Awaiting Input..." />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="180,666,120,107"
                                    Content="Update"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <Button
                                    Width="110"
                                    Height="26"
                                    Margin="295,666,5,107"
                                    Content="Clear"
                                    FontSize="12"
                                    Style="{DynamicResource MetroFlatButton}" />
                                <ListBox
                                    Margin="5,31,211,657"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="204,31,5,657"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="5,204,211,484"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="204,204,5,484"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="5,377,211,311"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="204,377,5,311"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="5,550,211,138"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                                <ListBox
                                    Margin="204,550,5,138"
                                    BorderBrush="#FFCCCCCC"
                                    BorderThickness="1" />
                            </Grid>
                        </ScrollViewer>
                    </Border>
                </Grid>
            </Controls:Flyout>
        </Controls:FlyoutsControl>
    </Controls:MetroWindow.Flyouts>

    --><!--  Begin Main Window Layout  --><!--
    <Controls:MetroContentControl
        Grid.Row="0"
        Margin="0"
        HorizontalContentAlignment="Stretch"
        VerticalContentAlignment="Stretch"
        KeyboardNavigation.TabNavigation="Continue">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*" />
                <RowDefinition Height="38" />
            </Grid.RowDefinitions>
            <Controls:MetroAnimatedSingleRowTabControl
                HorizontalContentAlignment="Stretch"
                VerticalContentAlignment="Stretch"
                Controls:TabControlHelper.Underlined="SelectedTabItem"
                KeyboardNavigation.TabNavigation="Continue">
                <TabItem
                    x:Name="tabReport"
                    Header="Reporting"
                    KeyboardNavigation.TabNavigation="Continue">
                    <Grid x:Name="gridReport" Margin="0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="250" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <Label
                            Content="Reporting Options"
                            KeyboardNavigation.IsTabStop="False"
                            Style="{StaticResource styleDescriptionHeader}" />
                        <Grid
                            Grid.Column="1"
                            Height="45"
                            VerticalAlignment="Top">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Label
                                Content="Files to be Processed"
                                KeyboardNavigation.IsTabStop="False"
                                Style="{StaticResource styleDescriptionHeader}" />
                            <StackPanel
                                Grid.Column="1"
                                Margin="0,11,5,0"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Top"
                                FlowDirection="RightToLeft"
                                Orientation="Horizontal">
                                <Label
                                    Width="Auto"
                                    HorizontalAlignment="Right"
                                    VerticalAlignment="Top"
                                    Content="{Binding FileList.Count}"
                                    FlowDirection="LeftToRight"
                                    KeyboardNavigation.IsTabStop="False" />
                                <Label
                                    HorizontalAlignment="Right"
                                    VerticalAlignment="Top"
                                    Content="File Count:"
                                    FlowDirection="LeftToRight"
                                    KeyboardNavigation.IsTabStop="False" />
                            </StackPanel>
                        </Grid>
                        <ScrollViewer
                            Grid.Row="1"
                            Grid.Column="0"
                            BorderBrush="#FFCCCCCC"
                            BorderThickness="0,0,1,0"
                            VerticalScrollBarVisibility="Auto">
                            <StackPanel>
                                <Label
                                    Content="System Package Type"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <RadioButton
                                        x:Name="rbDiacap"
                                        Grid.Row="2"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="DIACAP"
                                        GroupName="PackageType"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/rbDiacap}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="1">
                                        --><!--<RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>--><!--
                                    </RadioButton>
                                    <RadioButton
                                        x:Name="rbRmf"
                                        Grid.Row="2"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="RMF"
                                        GroupName="PackageType"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/rbRmf}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="2">
                                        --><!--<RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>--><!--
                                    </RadioButton>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="NIST SP 800-53 Revision"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <RadioButton
                                        Name="revisionThreeRadioButton"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Revision 3"
                                        GroupName="NistRevision"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/revisionThreeRadioButton}"
                                        IsEnabled="{Binding IsEnabled}">
                                        --><!--<RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>--><!--
                                    </RadioButton>
                                    <RadioButton
                                        Name="revisionFourRadioButton"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Revision 4"
                                        GroupName="NistRevision"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/revisionFourRadioButton}"
                                        IsEnabled="{Binding IsEnabled}">
                                        --><!--<RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>--><!--
                                    </RadioButton>
                                    <CheckBox
                                        x:Name="cbNistAppendixA"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="NIST 800-53A"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbNistAppendixA}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="3">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Severity"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbCritical"
                                        Grid.Row="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Critical"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCritical}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="3">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbCatI"
                                        Grid.Row="0"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="CAT I"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCatI}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="8">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbHigh"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="High"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbHigh}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="4">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbCatII"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="CAT II"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCatII}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="9">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbMedium"
                                        Grid.Row="2"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Medium"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMedium}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="5">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbCatIII"
                                        Grid.Row="2"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="CAT III"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCatIII}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="10">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbLow"
                                        Grid.Row="3"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Low"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbLow}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="6">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbCatIV"
                                        Grid.Row="3"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="CAT IV"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCatIV}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="11">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbInfo"
                                        Grid.Row="4"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Informational"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbInfo}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="7">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Status"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbOpen"
                                        Grid.Row="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Ongoing"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbOpen}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="12">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbNotApplicable"
                                        Grid.Row="0"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Not Applicable"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbNotApplicable}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="14">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbNotReviewed"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Not Reviewed"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbNotReviewed}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="13">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbCompleted"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Completed"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbCompleted}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="15">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Output Format"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbPoamRar"
                                        Grid.Row="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="POA&amp;M / RAR"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbPoamRar}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="16">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbDiscrepancies"
                                        Grid.Row="0"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Discrepancies"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbDiscrepancies}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="21">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbAssetOverview"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Asset Overview"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbAssetOverview}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="17">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbPdfSum"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="PDF Summary"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbPdfSum}"
                                        IsEnabled="False"
                                        TabIndex="22">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbStigDetails"
                                        Grid.Row="2"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="STIG Details"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbStigDetails}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="18">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbFprDetails"
                                        Grid.Row="2"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Fortify Details"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbFprDetails}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="18">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbAcasOutput"
                                        Grid.Row="3"
                                        Grid.ColumnSpan="2"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="ACAS Scan Output (*.nessus Only)"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbAcasOutput}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="19">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbOsUser"
                                        Grid.Row="4"
                                        Grid.ColumnSpan="2"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="OS &amp; User Breakdown (*.nessus Only)"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbOsUser}"
                                        IsEnabled="False"
                                        TabIndex="20">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbTestPlan"
                                        Grid.Row="5"
                                        Grid.ColumnSpan="2"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Test Plan Breakout"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbTestPlan}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="20">
                                        --><!--<CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>--><!--
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Report Breakdown"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbAllFindings"
                                        Grid.Row="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="All Findings"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbAllFindings}"
                                        IsEnabled="False"
                                        TabIndex="23">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbBySystem"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="By System"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbBySystem}"
                                        IsEnabled="False"
                                        TabIndex="24">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbByGroup"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="By Group"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbByGroup}"
                                        IsEnabled="False"
                                        TabIndex="25">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="System Identifier to Report"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <RadioButton
                                        x:Name="rbHostIdentifier"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Asset Host Name (IP Address Fallback)"
                                        GroupName="AssetIdentifier"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/rbHostIdentifier}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="26">
                                        <RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>
                                    </RadioButton>
                                    <RadioButton
                                        x:Name="rbIpIdentifier"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Asset IP Address (Host Name Fallback)"
                                        GroupName="AssetIdentifier"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/rbIpIdentifier}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="27">
                                        <RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>
                                    </RadioButton>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="STIG Mitigation Text Location"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <CheckBox
                                        x:Name="cbComments"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Comments"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbComments}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="28">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbFindingDetails"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Finding Details"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbFindingDetails}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="29">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Group Findings"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbMergeAcas"
                                        Grid.Row="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Group ACAS"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMergeAcas}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="30">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbMergeCkl"
                                        Grid.Row="0"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Group CKL"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMergeCkl}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="32">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbMergeXccdf"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Group XCCDF"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMergeXccdf}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="31">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbMergeWassp"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Group WASSP"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMergeWassp}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="33">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbMergeFpr"
                                        Grid.Row="2"
                                        Grid.Column="0"
                                        Margin="5,0,0,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Group Fortify"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/cbMergeFpr}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="33">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Left"
                                    Content="eMASS POC Information"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    x:Name="tbEmassOrg"
                                    Height="Auto"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.ClearTextButton="True"
                                    Controls:TextBoxHelper.UseFloatingWatermark="True"
                                    Controls:TextBoxHelper.Watermark="Organization (ex. NAVAIR)"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="34"
                                    Text="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/tbEmassOrg}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="LostFocus">
                                            <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                                <i:InvokeCommandAction.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource CommandConverter}">
                                                        <Binding ElementName="tbEmassOrg" Path="Name" />
                                                        <Binding ElementName="tbEmassOrg" Path="Text" />
                                                    </MultiBinding>
                                                </i:InvokeCommandAction.CommandParameter>
                                            </i:InvokeCommandAction>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </TextBox>
                                <TextBox
                                    x:Name="tbEmassName"
                                    Height="Auto"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.ClearTextButton="True"
                                    Controls:TextBoxHelper.UseFloatingWatermark="True"
                                    Controls:TextBoxHelper.Watermark="Name (First Last)"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="35"
                                    Text="{Binding InnerText, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=reportingTab/tbEmassName}">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="LostFocus">
                                            <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                                <i:InvokeCommandAction.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource CommandConverter}">
                                                        <Binding ElementName="tbEmassName" Path="Name" />
                                                        <Binding ElementName="tbEmassName" Path="Text" />
                                                    </MultiBinding>
                                                </i:InvokeCommandAction.CommandParameter>
                                            </i:InvokeCommandAction>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                </TextBox>
                                <TextBox
                                    x:Name="tbEmassNumber"
                                    Height="Auto"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.ClearTextButton="True"
                                    Controls:TextBoxHelper.UseFloatingWatermark="True"
                                    Controls:TextBoxHelper.Watermark="Number (Digits Only)"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="36">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="LostFocus">
                                            <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                                <i:InvokeCommandAction.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource CommandConverter}">
                                                        <Binding ElementName="tbEmassNumber" Path="Name" />
                                                        <Binding ElementName="tbEmassNumber" Path="Text" />
                                                    </MultiBinding>
                                                </i:InvokeCommandAction.CommandParameter>
                                            </i:InvokeCommandAction>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                    <Binding
                                        Mode="TwoWay"
                                        Path="InnerText"
                                        Source="{StaticResource XmlConfig}"
                                        UpdateSourceTrigger="PropertyChanged"
                                        XPath="reportingTab/tbEmassNumber">
                                        <Binding.ValidationRules>
                                            --><!--<Validation:NumberValidationRule />--><!--
                                        </Binding.ValidationRules>
                                    </Binding>
                                </TextBox>
                                <TextBox
                                    x:Name="tbEmassEmail"
                                    Height="Auto"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                    Controls:TextBoxHelper.ClearTextButton="True"
                                    Controls:TextBoxHelper.UseFloatingWatermark="True"
                                    Controls:TextBoxHelper.Watermark="Email (Match eMASS)"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="37">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="LostFocus">
                                            <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                                <i:InvokeCommandAction.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource CommandConverter}">
                                                        <Binding ElementName="tbEmassEmail" Path="Name" />
                                                        <Binding ElementName="tbEmassEmail" Path="Text" />
                                                    </MultiBinding>
                                                </i:InvokeCommandAction.CommandParameter>
                                            </i:InvokeCommandAction>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                    <Binding
                                        Mode="TwoWay"
                                        Path="InnerText"
                                        Source="{StaticResource XmlConfig}"
                                        UpdateSourceTrigger="PropertyChanged"
                                        XPath="reportingTab/tbEmassEmail">
                                        <Binding.ValidationRules>
                                            --><!--<Validation:EmailValidationRule />--><!--
                                        </Binding.ValidationRules>
                                    </Binding>
                                </TextBox>
                                <Label
                                    HorizontalAlignment="Left"
                                    Content="Application Execution"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Button
                                    x:Name="bAcas"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding OpenDialogCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Import ACAS"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="38" />
                                <Button
                                    x:Name="bCkl"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding OpenDialogCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Import CKL"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="39" />
                                <Button
                                    x:Name="bXccdf"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding OpenDialogCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Import XCCDF"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="40" />
                                <Button
                                    x:Name="bWassp"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding OpenDialogCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Import WASSP"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="41" />
                                <Button
                                    x:Name="importFprButton"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding OpenDialogCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Import Fortify"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="41" />
                                <Button
                                    x:Name="bExecute"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding ExecuteButtonCommand}"
                                    Content="Execute"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="42" />
                                <Button
                                    x:Name="bClearFiles"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Command="{Binding ClearCollectionCommand}"
                                    CommandParameter="{Binding RelativeSource={RelativeSource Self}}"
                                    Content="Clear Files"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="43" />
                            </StackPanel>
                        </ScrollViewer>
                        <DataGrid
                            x:Name="dgFiles"
                            Grid.Row="1"
                            Grid.Column="1"
                            Margin="5,0,5,5"
                            HorizontalContentAlignment="Stretch"
                            VerticalContentAlignment="Stretch"
                            AllowDrop="True"
                            AutoGenerateColumns="False"
                            BorderBrush="#FFCCCCCC"
                            BorderThickness="1"
                            CanUserDeleteRows="{Binding IsEnabled}"
                            CanUserReorderColumns="True"
                            CanUserResizeColumns="True"
                            CanUserSortColumns="True"
                            GridLinesVisibility="Horizontal"
                            HorizontalGridLinesBrush="#FFCCCCCC"
                            ItemsSource="{Binding FileList}"
                            KeyboardNavigation.IsTabStop="False"
                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                            SelectionUnit="FullRow">
                            --><!--<i:Interaction.Triggers>
									<i:EventTrigger EventName="Drop">
										<vm:EventCommand Command="{Binding DropCommand}"
													 CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=InvokeParameter}" />
									</i:EventTrigger>
								</i:Interaction.Triggers>--><!--
                            <DataGrid.Columns>
                                <DataGridTemplateColumn
                                    Width="1.25*"
                                    Header="Filename"
                                    SortMemberPath="FileName">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Text="{Binding FileName}"
                                                TextTrimming="CharacterEllipsis"
                                                TextWrapping="NoWrap"
                                                ToolTip="{Binding FileName}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width=".75*"
                                    Header="File Type"
                                    SortMemberPath="FileType">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Text="{Binding FileType}"
                                                TextTrimming="CharacterEllipsis"
                                                TextWrapping="NoWrap"
                                                ToolTip="{Binding FileType}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn Width="1.25*">
                                    <DataGridTemplateColumn.HeaderStyle>
                                        <Style BasedOn="{StaticResource MetroDataGridColumnHeader}" TargetType="DataGridColumnHeader">
                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                            <Setter Property="Padding" Value="0,0,0,3" />
                                        </Style>
                                    </DataGridTemplateColumn.HeaderStyle>
                                    <DataGridTemplateColumn.HeaderTemplate>
                                        <DataTemplate>
                                            --><!--<ViewHelper:CommandEnabledComboBox
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.ClearTextButton="True"
                                                Controls:TextBoxHelper.Watermark="Group Name"
                                                Command="{Binding DataContext.UpdateAllSystemNamesCommand, RelativeSource={RelativeSource AncestorType={x:Type Window}}}"
                                                CommandParameter="{Binding SelectedItem.GroupName, RelativeSource={RelativeSource Self}}"
                                                DisplayMemberPath="GroupName"
                                                IsEditable="True"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                                SelectedValuePath="GroupName">
                                                <ViewHelper:CommandEnabledComboBox.Style>
                                                    <Style BasedOn="{StaticResource {x:Type ComboBox}}" TargetType="{x:Type vm:CommandEnabledComboBox}">
                                                        <Setter Property="BorderThickness" Value="0" />
                                                    </Style>
                                                </ViewHelper:CommandEnabledComboBox.Style>
                                            </ViewHelper:CommandEnabledComboBox>--><!--
                                        </DataTemplate>
                                    </DataGridTemplateColumn.HeaderTemplate>
                                    <DataGridTemplateColumn.CellStyle>
                                        <Style BasedOn="{StaticResource MetroDataGridCell}" TargetType="DataGridCell">
                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                            <Setter Property="Padding" Value="0,0,6,0" />
                                        </Style>
                                    </DataGridTemplateColumn.CellStyle>
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <ComboBox
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.ClearTextButton="True"
                                                Controls:TextBoxHelper.Watermark="Group Name"
                                                DisplayMemberPath="GroupName"
                                                IsEditable="True"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                                Text="{Binding FileSystemName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
                                                <ComboBox.Style>
                                                    <Style BasedOn="{StaticResource MetroComboBox}" TargetType="ComboBox">
                                                        <Setter Property="BorderThickness" Value="0" />
                                                    </Style>
                                                </ComboBox.Style>
                                            </ComboBox>
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width=".75*"
                                    Header="Status"
                                    SortMemberPath="Status">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Text="{Binding Status}"
                                                TextTrimming="CharacterEllipsis"
                                                TextWrapping="NoWrap"
                                                ToolTip="{Binding Status}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                            </DataGrid.Columns>
                        </DataGrid>
                    </Grid>
                </TabItem>
                <TabItem
                    x:Name="tabMitigations"
                    HorizontalContentAlignment="Stretch"
                    VerticalContentAlignment="Stretch"
                    Header="Mitigations">
                    <Controls:MetroAnimatedSingleRowTabControl
                        HorizontalContentAlignment="Stretch"
                        VerticalContentAlignment="Stretch"
                        Controls:TabControlHelper.Underlined="SelectedTabItem">
                        <TabItem
                            HorizontalContentAlignment="Stretch"
                            VerticalContentAlignment="Stretch"
                            Controls:ControlsHelper.HeaderFontSize="18"
                            Header="Add">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="325" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="*" />
                                </Grid.RowDefinitions>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Top"
                                    Content="Add Mitigations"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleDescriptionHeader}" />
                                <Grid Grid.Column="1">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Label
                                        VerticalAlignment="Top"
                                        Content="Existing Statements"
                                        KeyboardNavigation.IsTabStop="False"
                                        Style="{StaticResource styleDescriptionHeader}" />
                                    <StackPanel
                                        Grid.Column="1"
                                        Margin="0,11,5,0"
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Label
                                            Width="Auto"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="{Binding MitigationList.Count}"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                        <Label
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="Mitigations Count:"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                    </StackPanel>
                                </Grid>

                                <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                                    <StackPanel>
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Database Location"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbMitDbLocation"
                                            Height="Auto"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Database File Location"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsReadOnly="True"
                                            TabIndex="1"
                                            Text="{Binding MitigationDatabaseLocation}"
                                            TextWrapping="NoWrap" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                x:Name="bMitDatabaseCreate"
                                                Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                                                Margin="5,0,0,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding CreateDatabaseDialogCommand}"
                                                Content="Create New"
                                                FontSize="12"
                                                IsEnabled="{Binding IsEnabled}"
                                                TabIndex="2" />
                                            <Button
                                                x:Name="bMitLocationBrowse"
                                                Grid.Column="1"
                                                Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding DatabaseBrowseDialogCommand}"
                                                Content="Browse"
                                                FontSize="12"
                                                IsEnabled="{Binding IsEnabled}"
                                                TabIndex="3" />
                                        </Grid>
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Vulnerability ID Number"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbId"
                                            Height="Auto"
                                            MaxHeight="300"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="ACAS Plugin (e.g. 21745)&#10;STIG / SCAP V-ID (e.g. V-1103)&#10;WASSP Test # (e.g. W7.01)&#10;&#10;Place multiple ID's on separate&#10;rows"
                                            AcceptsReturn="True"
                                            AcceptsTab="False"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="4"
                                            Text="{Binding AddMitigationId, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
                                            TextWrapping="Wrap"
                                            VerticalScrollBarVisibility="Auto" />
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Finding Text"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbMitigationText"
                                            Height="Auto"
                                            MaxHeight="300"
                                            Margin="5,0,5,5"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Mitigation / Remediation Text &#10;(Maximum 2000 characters)"
                                            AcceptsReturn="True"
                                            AcceptsTab="False"
                                            IsEnabled="{Binding IsEnabled}"
                                            MaxLength="2000"
                                            SpellCheck.IsEnabled="True"
                                            TabIndex="5"
                                            Text="{Binding AddMitigationText}"
                                            TextWrapping="Wrap"
                                            VerticalScrollBarVisibility="Auto" />
                                        <Label
                                            Grid.Row="2"
                                            HorizontalAlignment="Left"
                                            Content="Vulnerability Status"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <ComboBox
                                            Grid.Row="2"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.Watermark="Status"
                                            DisplayMemberPath="Item"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            ItemsSource="{Binding StatusItemList}"
                                            SelectedValue="{Binding AddMitigationStatus}"
                                            SelectedValuePath="Item"
                                            TabIndex="6" />
                                        <Label
                                            Grid.Row="2"
                                            HorizontalAlignment="Left"
                                            Content="Mitigation Group"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <ComboBox
                                            Grid.Row="2"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.UseFloatingWatermark="True"
                                            Controls:TextBoxHelper.Watermark="Group Name"
                                            DisplayMemberPath="GroupName"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsSynchronizedWithCurrentItem="False"
                                            ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                            TabIndex="7"
                                            Text="{Binding AddMitigationGroupName}" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                x:Name="bMitImport"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding HandleFlyoutsCommand}"
                                                CommandParameter="{Binding Content, RelativeSource={RelativeSource Self}}"
                                                Content="Import Mitigation(s)"
                                                FontSize="12"
                                                IsEnabled="{Binding IsEnabled}"
                                                TabIndex="9" />
                                            <Button
                                                x:Name="bMitTextSave"
                                                Grid.Column="1"
                                                Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding SaveMitigationsCommand}"
                                                Content="Save Mitigations"
                                                FontSize="12"
                                                IsEnabled="{Binding IsEnabled}"
                                                TabIndex="10" />
                                        </Grid>
                                    </StackPanel>
                                </ScrollViewer>
                                <Grid
                                    Grid.Row="1"
                                    Grid.Column="1"
                                    VerticalAlignment="Stretch">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <DataGrid
                                        x:Name="dgMitigations"
                                        Margin="5,0,5,5"
                                        AutoGenerateColumns="False"
                                        BorderBrush="#FFCCCCCC"
                                        BorderThickness="1"
                                        CanUserReorderColumns="True"
                                        CanUserResizeColumns="True"
                                        CanUserSortColumns="True"
                                        GridLinesVisibility="Horizontal"
                                        HorizontalGridLinesBrush="#FFCCCCCC"
                                        IsEnabled="{Binding IsEnabled}"
                                        ItemsSource="{Binding MitigationList}"
                                        KeyboardNavigation.IsTabStop="False"
                                        ScrollViewer.VerticalScrollBarVisibility="Auto"
                                        SelectedValue="{Binding SelectedMitigation}"
                                        SelectionUnit="FullRow">
                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn
                                                Width=".27*"
                                                Header="Vulnerability"
                                                SortMemberPath="MitigationVulnerabilityId">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationVulnerabilityId}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationVulnerabilityId}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width=".2*"
                                                Header="Group"
                                                SortMemberPath="MitigationGroupName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationGroupName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationGroupName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width=".28*"
                                                Header="Mitigation Status"
                                                SortMemberPath="MitigationStatus">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationStatus}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationStatus}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridCheckBoxColumn
                                                Width=".2*"
                                                Binding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                ElementStyle="{DynamicResource MetroDataGridCheckBox}"
                                                Header="Select"
                                                IsReadOnly="False">
                                                <DataGridCheckBoxColumn.HeaderTemplate>
                                                    <DataTemplate>
                                                        <CheckBox
                                                            x:Name="allMits"
                                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                            Controls:ToggleButtonHelper.ContentDirection="RightToLeft"
                                                            Command="{Binding SelectCheckboxCommand}"
                                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                                            Content="SELECT"
                                                            DataContext="{StaticResource MainWindowViewModel}"
                                                            FontWeight="SemiBold"
                                                            IsChecked="{Binding MitigationsAreChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                            IsEnabled="{Binding IsEnabled}" />
                                                    </DataTemplate>
                                                </DataGridCheckBoxColumn.HeaderTemplate>
                                            </DataGridCheckBoxColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                    <StackPanel
                                        Grid.Row="1"
                                        HorizontalAlignment="Right"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Button
                                            x:Name="bMitDelete"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Command="{Binding DeleteButtonsCommand}"
                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                            Content="Delete Mitigations"
                                            FontSize="12"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="12" />
                                        <Button
                                            x:Name="bMitTextClear"
                                            Width="{Binding ElementName=bMitDelete, Path=ActualWidth}"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Command="{Binding ClearMitigationSelectionCommand}"
                                            Content="Clear Selection"
                                            FontSize="12"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="11" />
                                    </StackPanel>
                                </Grid>
                            </Grid>
                        </TabItem>
                        <TabItem
                            HorizontalContentAlignment="Stretch"
                            VerticalContentAlignment="Stretch"
                            Controls:ControlsHelper.HeaderFontSize="18"
                            Header="Update">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="260" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="45" />
                                    <RowDefinition Height="*" />
                                </Grid.RowDefinitions>
                                <Label
                                    Content="Modify Entry"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleDescriptionHeader}" />
                                <Grid Grid.Column="1">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Label
                                        Grid.Column="0"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Content="Existing Statements"
                                        KeyboardNavigation.IsTabStop="False"
                                        Style="{StaticResource styleDescriptionHeader}" />
                                    <StackPanel
                                        Grid.Column="1"
                                        Margin="0,11,0,0"
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Label
                                            Width="Auto"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="{Binding MitigationList.Count}"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                        <Label
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="Mitigations Count:"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                    </StackPanel>
                                </Grid>
                                <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                                    <StackPanel Grid.Row="1">
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Vulnerability Status"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            Name="tbSelecteMitigationStatus"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Please select a mitigation from the left"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsReadOnly="True"
                                            TabIndex="4"
                                            Text="{Binding SelectedItem.MitigationStatus, ElementName=dgUpdateMitigations, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                            TextWrapping="Wrap" />
                                        <ComboBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.Watermark="Updated Status"
                                            DisplayMemberPath="Item"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            ItemsSource="{Binding StatusItemList}"
                                            SelectedValue="{Binding UpdateMitigationStatus}"
                                            SelectedValuePath="Item"
                                            TabIndex="5" />
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Mitigation Group"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            Name="tbSelectedMitigationGroupName"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Please select a mitigation from the left"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsReadOnly="True"
                                            TabIndex="1"
                                            Text="{Binding SelectedItem.MitigationGroupName, ElementName=dgUpdateMitigations, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                            TextWrapping="Wrap" />
                                        <ComboBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            VerticalAlignment="Top"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.Watermark="Updated Group Name"
                                            DisplayMemberPath="GroupName"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsSynchronizedWithCurrentItem="False"
                                            ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                            TabIndex="2"
                                            Text="{Binding UpdateMitigationGroupName}" />
                                        <Label
                                            Content="Current Text"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbExistingMitText"
                                            Height="Auto"
                                            MaxHeight="300"
                                            Margin="5,0,5,5"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Please select a mitigation from the left"
                                            AcceptsReturn="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsReadOnly="True"
                                            TabIndex="6"
                                            Text="{Binding SelectedItem.MitigationText, ElementName=dgUpdateMitigations, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                            TextWrapping="Wrap"
                                            VerticalScrollBarVisibility="Auto" />
                                        <Label
                                            Content="Updated Text"
                                            KeyboardNavigation.IsTabStop="False"
                                            Style="{StaticResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbNewMitText"
                                            Height="Auto"
                                            MaxHeight="300"
                                            Margin="5,0,5,5"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Enter updated mitigation text here &#10;(Maximum 2000 characters)"
                                            AcceptsReturn="True"
                                            AcceptsTab="False"
                                            IsEnabled="{Binding IsEnabled}"
                                            MaxLength="2000"
                                            SpellCheck.IsEnabled="True"
                                            TabIndex="7"
                                            Text="{Binding UpdateMitigationText}"
                                            TextWrapping="Wrap"
                                            VerticalScrollBarVisibility="Auto" />
                                        <Button
                                            x:Name="bUpdateMitigation"
                                            Width="{Binding ElementName=bMitImport, Path=ActualWidth}"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Left"
                                            Command="{Binding UpdateMitigationCommand}"
                                            Content="Update Mitigation"
                                            FontSize="12"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="8">
                                            <Button.CommandParameter>
                                                <MultiBinding Converter="{StaticResource StringSeparator}">
                                                    <Binding ElementName="dgUpdateMitigations" Path="SelectedItem.MitigationVulnerabilityId" />
                                                    <Binding ElementName="dgUpdateMitigations" Path="SelectedItem.MitigationGroupName" />
                                                </MultiBinding>
                                            </Button.CommandParameter>
                                        </Button>
                                    </StackPanel>
                                </ScrollViewer>

                                <Grid Grid.Row="1" Grid.Column="1">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <DataGrid
                                        x:Name="dgUpdateMitigations"
                                        Margin="5,0,5,5"
                                        AutoGenerateColumns="False"
                                        BorderBrush="#FFCCCCCC"
                                        BorderThickness="1"
                                        CanUserReorderColumns="True"
                                        CanUserResizeColumns="True"
                                        CanUserSortColumns="True"
                                        GridLinesVisibility="Horizontal"
                                        HorizontalGridLinesBrush="#FFCCCCCC"
                                        IsEnabled="{Binding IsEnabled}"
                                        ItemsSource="{Binding MitigationList}"
                                        KeyboardNavigation.IsTabStop="False"
                                        ScrollViewer.VerticalScrollBarVisibility="Auto"
                                        SelectedValue="{Binding SelectedMitigationForUpdating}"
                                        SelectionUnit="FullRow">
                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn
                                                Width=".27*"
                                                Header="Vulnerability"
                                                SortMemberPath="MitigationVulnerabilityId">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationVulnerabilityId}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationVulnerabilityId}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width=".2*"
                                                Header="Group"
                                                SortMemberPath="MitigationGroupName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationGroupName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationGroupName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width=".28*"
                                                Header="Status"
                                                SortMemberPath="MitigationStatus">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding MitigationStatus}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding MitigationStatus}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridCheckBoxColumn
                                                Width=".2*"
                                                Binding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                ElementStyle="{DynamicResource MetroDataGridCheckBox}"
                                                Header="Select"
                                                IsReadOnly="False">
                                                <DataGridCheckBoxColumn.HeaderTemplate>
                                                    <DataTemplate>
                                                        <CheckBox
                                                            x:Name="allMits"
                                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                            Controls:ToggleButtonHelper.ContentDirection="RightToLeft"
                                                            Command="{Binding SelectCheckboxCommand}"
                                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                                            Content="SELECT"
                                                            DataContext="{StaticResource MainWindowViewModel}"
                                                            FontWeight="SemiBold"
                                                            IsChecked="{Binding MitigationsAreChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                            IsEnabled="{Binding IsEnabled}" />
                                                    </DataTemplate>
                                                </DataGridCheckBoxColumn.HeaderTemplate>
                                            </DataGridCheckBoxColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                    <StackPanel
                                        Grid.Row="1"
                                        HorizontalAlignment="Right"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Button
                                            x:Name="bMitTextClear_Copy"
                                            Width="{Binding ElementName=bMitDelete_Copy, Path=ActualWidth}"
                                            Margin="5,0,5,5"
                                            Command="{Binding ClearMitigationSelectionCommand}"
                                            Content="Clear Selection"
                                            FontSize="12"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="10" />
                                        <Button
                                            x:Name="bMitDelete_Copy"
                                            Margin="5,0,5,5"
                                            Command="{Binding DeleteButtonsCommand}"
                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                            Content="Delete Mitigations"
                                            FontSize="12"
                                            IsEnabled="{Binding IsEnabled}"
                                            TabIndex="9" />
                                    </StackPanel>
                                </Grid>
                            </Grid>
                        </TabItem>
                    </Controls:MetroAnimatedSingleRowTabControl>
                </TabItem>
                <TabItem
                    x:Name="tabIavm"
                    HorizontalContentAlignment="Stretch"
                    VerticalContentAlignment="Stretch"
                    Header="Vulnerability Glance"
                    IsEnabled="False">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="230" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <Label
                            VerticalAlignment="Top"
                            Content="Send Notifications"
                            KeyboardNavigation.IsTabStop="False"
                            Style="{StaticResource styleDescriptionHeader}" />
                        <Grid Grid.Column="1">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Label
                                Content="Vulnerability Overview"
                                KeyboardNavigation.IsTabStop="False"
                                Style="{StaticResource styleDescriptionHeader}" />
                        </Grid>
                        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                            <StackPanel>
                                <Label
                                    Grid.Row="1"
                                    HorizontalAlignment="Left"
                                    Content="Vulnerability Age"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbNotifyOne"
                                        Grid.Row="0"
                                        Width="Auto"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterOne}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbNotifyOne}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="1">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbNotifyThree"
                                        Grid.Row="0"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterThree}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbNotifyThree}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="3">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbNotifyTwo"
                                        Grid.Row="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterTwo}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbNotifyTwo}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="2">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbNotifyFour"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,0,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterFour}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbNotifyFour}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="4">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Label
                                    HorizontalAlignment="Stretch"
                                    Content="Notifying Email"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <TextBox
                                    x:Name="tbNotifyingEmail"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Stretch"
                                    Controls:TextBoxHelper.ClearTextButton="True"
                                    Controls:TextBoxHelper.Watermark="Email"
                                    IsEnabled="{Binding IsEnabled}"
                                    TabIndex="5"
                                    TextWrapping="NoWrap">
                                    <i:Interaction.Triggers>
                                        <i:EventTrigger EventName="LostFocus">
                                            <i:InvokeCommandAction Command="{Binding UpdateDictionaryCommand}">
                                                <i:InvokeCommandAction.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource CommandConverter}">
                                                        <Binding ElementName="tbNotifyingEmail" Path="Name" />
                                                        <Binding ElementName="tbNotifyingEmail" Path="Text" />
                                                    </MultiBinding>
                                                </i:InvokeCommandAction.CommandParameter>
                                            </i:InvokeCommandAction>
                                        </i:EventTrigger>
                                    </i:Interaction.Triggers>
                                    <Binding
                                        Mode="TwoWay"
                                        Path="InnerText"
                                        Source="{StaticResource XmlConfig}"
                                        UpdateSourceTrigger="PropertyChanged"
                                        XPath="iavmComplianceTab/reportingSubTab/tbNotifyingEmail">
                                        <Binding.ValidationRules>
                                            --><!--<Validation:EmailValidationRule />--><!--
                                        </Binding.ValidationRules>
                                    </Binding>
                                </TextBox>
                                <Label
                                    Content="Authentication Method"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <RadioButton
                                        x:Name="rbPki"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="PKI"
                                        GroupName="AuthenticationMethod"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/rbPki}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="6">
                                        <RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>
                                    </RadioButton>
                                    <RadioButton
                                        x:Name="rbNone"
                                        Grid.Column="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="None"
                                        GroupName="AuthenticationMethod"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/rbNone}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="7">
                                        <RadioButton.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </RadioButton.CommandParameter>
                                    </RadioButton>
                                    <Button
                                        x:Name="bAdvancedOptions"
                                        Grid.Row="1"
                                        Width="{Binding ElementName=bIavmReport, Path=ActualWidth}"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        BorderThickness="0,0,0,0"
                                        Command="{Binding HandleFlyoutsCommand}"
                                        CommandParameter="{Binding Content, RelativeSource={RelativeSource Self}}"
                                        Content="Email Options"
                                        FontSize="12"
                                        IsEnabled="{Binding IsEnabled}"
                                        Style="{StaticResource MetroFlatButton}"
                                        TabIndex="8" />
                                    <Button
                                        x:Name="bSendNotification"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Width="{Binding ElementName=bIavmReport, Path=ActualWidth}"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        Command="{Binding EmailTestCommand}"
                                        Content="Send Email(s)"
                                        FontSize="12"
                                        IsEnabled="{Binding IsEnabled}"
                                        Style="{StaticResource MetroFlatButton}"
                                        TabIndex="9" />
                                </Grid>
                                <Label
                                    Content="IAVM Reporting"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource ResourceKey=styleDescriptionHeader}" />
                                <Label
                                    Content="IAVM Age"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition />
                                        <RowDefinition />
                                    </Grid.RowDefinitions>
                                    <CheckBox
                                        x:Name="cbReportOne"
                                        Margin="5,0,5,5"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterOne}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbReportOne}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="10">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbReportThree"
                                        Grid.Column="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterThree}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbReportThree}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="12">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbReportTwo"
                                        Grid.Row="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterTwo}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbReportTwo}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="11">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbReportFour"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="{Binding Value, Converter={StaticResource StringJoiner}, ElementName=iavmFilterFour}"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbReportFour}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="13">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Label
                                    Content="Report Format"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleSecondLevelHeader}" />
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <CheckBox
                                        x:Name="cbIavmPdf"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="PDF"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbIavmPdf}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="14">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                    <CheckBox
                                        x:Name="cbIavmExcel"
                                        Grid.Column="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Left"
                                        Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                        Command="{Binding UpdateDictionaryCommand}"
                                        Content="Excel"
                                        IsChecked="{Binding InnerText, Converter={StaticResource StringToBool}, Mode=OneTime, Source={StaticResource XmlConfig}, XPath=iavmComplianceTab/reportingSubTab/cbIavmExcel}"
                                        IsEnabled="{Binding IsEnabled}"
                                        TabIndex="15">
                                        <CheckBox.CommandParameter>
                                            <MultiBinding Converter="{StaticResource CommandConverter}">
                                                <Binding Path="Name" RelativeSource="{RelativeSource Self}" />
                                                <Binding Path="IsChecked" RelativeSource="{RelativeSource Self}" />
                                            </MultiBinding>
                                        </CheckBox.CommandParameter>
                                    </CheckBox>
                                </Grid>
                                <Button
                                    x:Name="bIavmReport"
                                    Margin="5,0,5,5"
                                    HorizontalAlignment="Right"
                                    VerticalAlignment="Top"
                                    Content="Execute Report"
                                    FontSize="12"
                                    IsEnabled="{Binding IsEnabled}"
                                    Style="{StaticResource MetroFlatButton}"
                                    TabIndex="16" />
                            </StackPanel>
                        </ScrollViewer>
                        <Grid Grid.Row="1" Grid.Column="1">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="45" />
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <DataGrid
                                Margin="5,0,5,5"
                                AutoGenerateColumns="False"
                                BorderBrush="#FFCCCCCC"
                                BorderThickness="1"
                                CanUserReorderColumns="True"
                                CanUserResizeColumns="True"
                                CanUserSortColumns="True"
                                GridLinesVisibility="Horizontal"
                                HorizontalGridLinesBrush="#FFCCCCCC"
                                IsEnabled="{Binding IsEnabled}"
                                ScrollViewer.VerticalScrollBarVisibility="Auto"
                                SelectionUnit="FullRow">
                                <DataGrid.Columns>
                                    <DataGridCheckBoxColumn Width=".1*" Header="Select" />
                                    <DataGridTextColumn Width=".15*" Header="Vulnerability ID" />
                                    <DataGridTextColumn Width=".65*" Header="Vulnerability Title" />
                                    <DataGridTextColumn Width=".1*" Header="Count" />
                                </DataGrid.Columns>
                            </DataGrid>
                            <Grid Grid.Row="2">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>
                                <Label
                                    Content="Ongoing IAVMs"
                                    KeyboardNavigation.IsTabStop="False"
                                    Style="{StaticResource styleDescriptionHeader}" />
                                <StackPanel
                                    Grid.Column="1"
                                    Margin="0,11,5,0"
                                    HorizontalAlignment="Right"
                                    VerticalAlignment="Top"
                                    FlowDirection="RightToLeft"
                                    Orientation="Horizontal">
                                    <Label
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        Content="{Binding IavmList.Count}"
                                        FlowDirection="LeftToRight"
                                        KeyboardNavigation.IsTabStop="False" />
                                    <Label
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        Content="IAVM Count:"
                                        FlowDirection="LeftToRight"
                                        KeyboardNavigation.IsTabStop="False" />
                                </StackPanel>
                            </Grid>

                            <DataGrid
                                x:Name="dgIavms"
                                Grid.Row="3"
                                Margin="5,0,5,5"
                                AutoGenerateColumns="False"
                                BorderBrush="#FFCCCCCC"
                                BorderThickness="1"
                                CanUserReorderColumns="True"
                                CanUserResizeColumns="True"
                                CanUserSortColumns="True"
                                GridLinesVisibility="Horizontal"
                                HorizontalGridLinesBrush="#FFCCCCCC"
                                IsEnabled="{Binding IsEnabled}"
                                ItemsSource="{Binding IavmList}"
                                KeyboardNavigation.IsTabStop="False"
                                ScrollViewer.VerticalScrollBarVisibility="Auto"
                                SelectionUnit="FullRow">
                                <DataGrid.Columns>
                                    <DataGridCheckBoxColumn
                                        Width=".2*"
                                        Binding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                        ElementStyle="{DynamicResource MetroDataGridCheckBox}"
                                        Header="Select"
                                        IsReadOnly="False">
                                        <DataGridCheckBoxColumn.HeaderTemplate>
                                            <DataTemplate>
                                                <CheckBox
                                                    x:Name="allIavms"
                                                    Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                    Command="{Binding SelectCheckboxCommand}"
                                                    CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                                    Content="SELECT"
                                                    DataContext="{StaticResource MainWindowViewModel}"
                                                    FontWeight="SemiBold"
                                                    IsChecked="{Binding IavmsAreChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                    IsEnabled="{Binding IsEnabled}" />
                                            </DataTemplate>
                                        </DataGridCheckBoxColumn.HeaderTemplate>
                                    </DataGridCheckBoxColumn>
                                    <DataGridTemplateColumn
                                        Width=".3*"
                                        Header="IAVM Number"
                                        SortMemberPath="IavmNumber">
                                        <DataGridTemplateColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBox
                                                    ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                    IsReadOnly="True"
                                                    Style="{StaticResource styleTrimmingTextbox}"
                                                    Text="{Binding IavmNumber}"
                                                    TextWrapping="NoWrap"
                                                    ToolTip="{Binding IavmNumber}" />
                                            </DataTemplate>
                                        </DataGridTemplateColumn.CellTemplate>
                                    </DataGridTemplateColumn>
                                    <DataGridTemplateColumn
                                        Width=".25*"
                                        Header="ACAS Plugin"
                                        SortMemberPath="PluginNumber">
                                        <DataGridTemplateColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBox
                                                    ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                    IsReadOnly="True"
                                                    Style="{StaticResource styleTrimmingTextbox}"
                                                    Text="{Binding PluginNumber}"
                                                    TextWrapping="NoWrap"
                                                    ToolTip="{Binding PluginNumber}" />
                                            </DataTemplate>
                                        </DataGridTemplateColumn.CellTemplate>
                                    </DataGridTemplateColumn>
                                    <DataGridTemplateColumn
                                        Width=".7*"
                                        Header="IAVM Title"
                                        SortMemberPath="PluginNum">
                                        <DataGridTemplateColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBox
                                                    ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                    IsReadOnly="True"
                                                    Style="{StaticResource styleTrimmingTextbox}"
                                                    Text="{Binding PluginTitle}"
                                                    TextWrapping="NoWrap"
                                                    ToolTip="{Binding PluginTitle}" />
                                            </DataTemplate>
                                        </DataGridTemplateColumn.CellTemplate>
                                    </DataGridTemplateColumn>
                                    <DataGridTemplateColumn
                                        Width=".3*"
                                        Header="Affected Asset"
                                        SortMemberPath="AffectedAsset">
                                        <DataGridTemplateColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBox
                                                    ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                    IsReadOnly="True"
                                                    Style="{StaticResource styleTrimmingTextbox}"
                                                    Text="{Binding AffectedAsset}"
                                                    TextWrapping="NoWrap"
                                                    ToolTip="{Binding AffectedAsset}" />
                                            </DataTemplate>
                                        </DataGridTemplateColumn.CellTemplate>
                                    </DataGridTemplateColumn>
                                    <DataGridTemplateColumn
                                        Width=".2*"
                                        Header="Age"
                                        SortMemberPath="Age">
                                        <DataGridTemplateColumn.CellTemplate>
                                            <DataTemplate>
                                                <TextBox
                                                    ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                    IsReadOnly="True"
                                                    Style="{StaticResource styleTrimmingTextbox}"
                                                    Text="{Binding Age}"
                                                    TextWrapping="NoWrap"
                                                    ToolTip="{Binding Age}" />
                                            </DataTemplate>
                                        </DataGridTemplateColumn.CellTemplate>
                                    </DataGridTemplateColumn>
                                </DataGrid.Columns>
                            </DataGrid>
                            <Button
                                x:Name="bIavmDelete"
                                Grid.Row="4"
                                Width="{Binding ElementName=bIavmReport, Path=ActualWidth}"
                                Margin="5,0,5,5"
                                HorizontalAlignment="Right"
                                VerticalAlignment="Top"
                                Command="{Binding DeleteButtonsCommand}"
                                CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                Content="Delete IAVM(s)"
                                FontSize="12"
                                IsEnabled="{Binding IsEnabled}"
                                Style="{StaticResource MetroFlatButton}"
                                TabIndex="17" />
                        </Grid>
                    </Grid>
                </TabItem>
                <TabItem
                    x:Name="tabContacts"
                    HorizontalContentAlignment="Stretch"
                    VerticalContentAlignment="Stretch"
                    Header="Asset Contacts"
                    IsEnabled="False">
                    <Controls:MetroAnimatedSingleRowTabControl
                        HorizontalContentAlignment="Stretch"
                        VerticalContentAlignment="Stretch"
                        Controls:TabControlHelper.IsUnderlined="False">
                        <TabItem
                            HorizontalContentAlignment="Stretch"
                            VerticalContentAlignment="Stretch"
                            Controls:ControlsHelper.HeaderFontSize="18"
                            Header="Add">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="240" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="*" />
                                </Grid.RowDefinitions>
                                <Label
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="Build Contact Database"
                                    Style="{DynamicResource styleDescriptionHeader}" />
                                <Grid Grid.Column="1">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Label
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Content="Current Points of Contact"
                                        Style="{DynamicResource styleDescriptionHeader}" />
                                    <StackPanel
                                        Grid.Column="1"
                                        Margin="0,11,5,0"
                                        HorizontalAlignment="Right"
                                        VerticalAlignment="Top"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Label
                                            Width="Auto"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="{Binding IavmList.Count}"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                        <Label
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="Contact Count:"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                    </StackPanel>
                                </Grid>
                                <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                                    <StackPanel Grid.Row="1">
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Database Location"
                                            Style="{DynamicResource styleSecondLevelHeader}" />
                                        <TextBox
                                            x:Name="tbContactDbLocation"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Select file location"
                                            IsReadOnly="True"
                                            TabIndex="1"
                                            Text="{Binding ContactDatabaseLocation}"
                                            TextWrapping="NoWrap" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                x:Name="bNewVulneratorManagedDbBrowse_Copy"
                                                Width="{Binding ElementName=importContactsButton, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding CreateDatabaseDialogCommand}"
                                                Content="Create New"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="2" />
                                            <Button
                                                x:Name="bVulneratorManagedDbBrowse_Copy"
                                                Grid.Column="1"
                                                Width="{Binding ElementName=importContactsButton, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding DatabaseBrowseDialogCommand}"
                                                Content="Browse"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="3" />
                                        </Grid>
                                        <Label
                                            HorizontalAlignment="Stretch"
                                            Content="Add Contact Information"
                                            Style="{DynamicResource styleSecondLevelHeader}" />
                                        <TextBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Point of Contact Name"
                                            TabIndex="4"
                                            Text="{Binding AddContactName, UpdateSourceTrigger=LostFocus}"
                                            TextWrapping="NoWrap" />
                                        <TextBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.Watermark="Point of Contact Email"
                                            TabIndex="6"
                                            TextWrapping="NoWrap">
                                            <Binding Path="AddContactEmail" UpdateSourceTrigger="PropertyChanged">
                                                <Binding.ValidationRules>
                                                    --><!--<Validation:EmailValidationRule />--><!--
                                                </Binding.ValidationRules>
                                            </Binding>
                                        </TextBox>
                                        <Label
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Left"
                                            Content="Select / Create Contact Group"
                                            Style="{DynamicResource styleSecondLevelHeader}" />
                                        <ComboBox
                                            x:Name="addContactGroupNameComboBox"
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.UseFloatingWatermark="True"
                                            Controls:TextBoxHelper.Watermark="Group Name"
                                            DisplayMemberPath="GroupName"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsSynchronizedWithCurrentItem="False"
                                            ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                            TabIndex="7"
                                            Text="{Binding AddContactGroupName}" />
                                        <Label
                                            HorizontalAlignment="Left"
                                            Content="Select / Create System"
                                            Style="{DynamicResource styleSecondLevelHeader}" />
                                        <ComboBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:TextBoxHelper.ClearTextButton="True"
                                            Controls:TextBoxHelper.UseFloatingWatermark="True"
                                            Controls:TextBoxHelper.Watermark="System Name"
                                            DisplayMemberPath="SystemNameAndIp"
                                            IsEditable="True"
                                            IsEnabled="{Binding IsEnabled}"
                                            IsSynchronizedWithCurrentItem="False"
                                            ItemsSource="{Binding Source={StaticResource MonitoredSystemListCollectionViewSource}}"
                                            TabIndex="9"
                                            Text="{Binding AddContactSystemHostName}" />
                                        <TextBox
                                            Margin="5,0,5,5"
                                            HorizontalAlignment="Stretch"
                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                            Controls:TextBoxHelper.UseFloatingWatermark="True"
                                            Controls:TextBoxHelper.Watermark="New System IP Address"
                                            TabIndex="10"
                                            Text="{Binding AddContactSystemIp, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                            TextWrapping="NoWrap" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                x:Name="importContactsButton"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="Import Contacts"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="12" />
                                            <Button
                                                Grid.Column="1"
                                                Width="{Binding ElementName=importContactsButton, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding AddContactCommand}"
                                                Content="Add Contact"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="11" />
                                        </Grid>
                                    </StackPanel>
                                </ScrollViewer>
                                <Grid Grid.Row="1" Grid.Column="1">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <DataGrid
                                        x:Name="contactsDataGrid"
                                        Margin="5,0,5,5"
                                        AutoGenerateColumns="False"
                                        BorderBrush="#FFCCCCCC"
                                        BorderThickness="1"
                                        CanUserReorderColumns="True"
                                        CanUserResizeColumns="True"
                                        CanUserSortColumns="True"
                                        GridLinesVisibility="Horizontal"
                                        HorizontalGridLinesBrush="#FFCCCCCC"
                                        IsEnabled="{Binding IsEnabled}"
                                        ItemsSource="{Binding ContactList}"
                                        ScrollViewer.VerticalScrollBarVisibility="Auto"
                                        SelectedItem="{Binding SelectedContact}"
                                        SelectionUnit="FullRow">
                                        <DataGrid.Columns>
                                            <DataGridCheckBoxColumn
                                                Width="1*"
                                                Binding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                ElementStyle="{DynamicResource MetroDataGridCheckBox}"
                                                Header="Select"
                                                IsReadOnly="False">
                                                <DataGridCheckBoxColumn.HeaderTemplate>
                                                    <DataTemplate>
                                                        <CheckBox
                                                            x:Name="selectAllContactsCheckbox"
                                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                            Command="{Binding SelectCheckboxCommand}"
                                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                                            Content="SELECT"
                                                            DataContext="{StaticResource MainWindowViewModel}"
                                                            FontWeight="SemiBold"
                                                            IsChecked="{Binding ContactsAreChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                            IsEnabled="{Binding IsEnabled}" />
                                                    </DataTemplate>
                                                </DataGridCheckBoxColumn.HeaderTemplate>
                                            </DataGridCheckBoxColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="Name"
                                                SortMemberPath="ContactName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="Group"
                                                SortMemberPath="ContactGroupName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactGroupName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactGroupName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="System Name"
                                                SortMemberPath="ContactSystemName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactSystemName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactSystemName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="System IP"
                                                SortMemberPath="ContactSystemIp">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactSystemIp}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactSystemIp}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                    <Button
                                        x:Name="deleteContactsButton"
                                        Grid.Row="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Right"
                                        Command="{Binding DeleteButtonsCommand}"
                                        CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                        Content="Delete Contact(s)"
                                        FontSize="12"
                                        IsEnabled="{Binding IsEnabled}"
                                        Style="{StaticResource MetroFlatButton}"
                                        TabIndex="33" />
                                </Grid>
                            </Grid>
                        </TabItem>
                        <TabItem
                            HorizontalContentAlignment="Stretch"
                            VerticalContentAlignment="Stretch"
                            Controls:ControlsHelper.HeaderFontSize="18"
                            Header="Update">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="260" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="45" />
                                    <RowDefinition Height="*" />
                                </Grid.RowDefinitions>
                                <Label
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    Content="Modify Contacts"
                                    Style="{DynamicResource styleDescriptionHeader}" />
                                <Grid Grid.Column="1">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition />
                                        <ColumnDefinition />
                                    </Grid.ColumnDefinitions>
                                    <Label
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        Content="Current Points of Contact"
                                        Style="{DynamicResource styleDescriptionHeader}" />
                                    <StackPanel
                                        Grid.Column="1"
                                        Margin="0,11,5,0"
                                        HorizontalAlignment="Left"
                                        VerticalAlignment="Top"
                                        FlowDirection="RightToLeft"
                                        Orientation="Horizontal">
                                        <Label
                                            Width="Auto"
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="{Binding IavmList.Count}"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                        <Label
                                            HorizontalAlignment="Right"
                                            VerticalAlignment="Top"
                                            Content="Contact Count:"
                                            FlowDirection="LeftToRight"
                                            KeyboardNavigation.IsTabStop="False" />
                                    </StackPanel>
                                </Grid>
                                <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
                                    <StackPanel Grid.Row="1">
                                        <Label Content="Update Single Contact" Style="{DynamicResource styleSecondLevelHeader}" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Content="POC Name:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateContactNameTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="1"
                                                Text="{Binding ContactName, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Content="POC Title:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateContactTitleTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="2"
                                                Text="{Binding ContactTitle, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="POC Email:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateContactEmailTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="3"
                                                TextWrapping="NoWrap">
                                                <Binding Path="ContactEmail" UpdateSourceTrigger="PropertyChanged">
                                                    <Binding.ValidationRules>
                                                        --><!--<Validation:EmailValidationRule />--><!--
                                                    </Binding.ValidationRules>
                                                </Binding>
                                            </TextBox>
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="POC Group:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <ComboBox
                                                x:Name="updateContactGroupCombobox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DisplayMemberPath="GroupName"
                                                IsEditable="True"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource SystemGroupListForUpdatingCollectionViewSource}}"
                                                SelectedValuePath="GroupName"
                                                TabIndex="4"
                                                Text="{Binding SelectedContact.ContactGroupName, Mode=OneWay}" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="Sys. IP:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateContactSystemIpTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="6"
                                                Text="{Binding ContactSystemIp, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="Sys. Name:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateContactSystemNameTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a POC"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="7"
                                                Text="{Binding ContactSystemName, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding UpdateContactCommand}"
                                                Content="Update Contact"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="8">
                                                <Button.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource ContactInfoStringSeparator}">
                                                        <Binding ElementName="contactsDataGrid" Path="SelectedItem.ContactName" />
                                                        <Binding ElementName="contactsDataGrid" Path="SelectedItem.ContactGroupName" />
                                                        <Binding ElementName="contactsDataGrid" Path="SelectedItem.ContactSystemName" />
                                                        <Binding ElementName="updateContactNameTextbox" Path="Text" />
                                                        <Binding ElementName="updateContactTitleTextbox" Path="Text" />
                                                        <Binding ElementName="updateContactEmailTextbox" Path="Text" />
                                                        <Binding ElementName="updateContactGroupCombobox" Path="Text" />
                                                        <Binding ElementName="updateContactSystemIpTextbox" Path="Text" />
                                                        <Binding ElementName="updateContactSystemNameTextbox" Path="Text" />
                                                    </MultiBinding>
                                                </Button.CommandParameter>
                                            </Button>
                                            <Button
                                                x:Name="bNotificationCancel_Copy"
                                                Grid.Column="1"
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding ClearContactSelectionCommand}"
                                                Content="Clear Selection"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="9" />
                                        </Grid>
                                        <Label Content="Update Group List" Style="{DynamicResource styleSecondLevelHeader}" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="Old Group:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <ComboBox
                                                x:Name="updateGroupComboBox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.ClearTextButton="True"
                                                Controls:TextBoxHelper.Watermark="Existing Group"
                                                DisplayMemberPath="GroupName"
                                                IsEditable="False"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource SystemGroupListCollectionViewSource}}"
                                                SelectedValuePath="GroupName"
                                                TabIndex="10"
                                                Text="{Binding SelectedSystemGroupToUpdate}" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="New Name:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateGroupNewNameTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a group"
                                                TabIndex="11"
                                                Text="{Binding Text, Converter={StaticResource ObtainFirstStringValue}, ElementName=updateGroupComboBox, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding UpdateGroupCommand}"
                                                Content="Update Group"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="13">
                                                <Button.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource UpdateSystemGroupConverter}">
                                                        <Binding ElementName="updateGroupNewNameTextbox" Path="Text" />
                                                    </MultiBinding>
                                                </Button.CommandParameter>
                                            </Button>
                                            <Button
                                                Grid.Column="1"
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding DeleteGroupCommand}"
                                                Content="Delete Group"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="14" />
                                        </Grid>
                                        <Label Content="Update System List" Style="{DynamicResource styleSecondLevelHeader}" />
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="Old System:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <ComboBox
                                                x:Name="updateSystemCombobox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:TextBoxHelper.ClearTextButton="True"
                                                Controls:TextBoxHelper.Watermark="Existing System"
                                                DisplayMemberPath="SystemGroupAndNameAndIp"
                                                IsEditable="False"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource MonitoredSystemListForUpdatingCollectionViewSource}}"
                                                TabIndex="15"
                                                Text="{Binding SelectedContactSystemToUpdate}" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="New Group:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <ComboBox
                                                x:Name="updateSystemNewGroupComboBox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a system"
                                                DisplayMemberPath="GroupName"
                                                IsEnabled="{Binding IsEnabled}"
                                                IsSynchronizedWithCurrentItem="False"
                                                ItemsSource="{Binding Source={StaticResource SystemGroupListForUpdatingCollectionViewSource}}"
                                                TabIndex="16"
                                                Text="{Binding Text, Converter={StaticResource ObtainFirstStringValue}, ElementName=updateSystemCombobox, Mode=OneWay}" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="New Name:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateSystemNewNameTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a system"
                                                TabIndex="17"
                                                Text="{Binding Text, Converter={StaticResource ObtainSecondStringValue}, ElementName=updateSystemCombobox, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="70" />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Label
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Content="New IP:"
                                                KeyboardNavigation.IsTabStop="False" />
                                            <TextBox
                                                x:Name="updateSystemNewIpTextbox"
                                                Grid.Column="1"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Stretch"
                                                VerticalAlignment="Top"
                                                Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                Controls:TextBoxHelper.Watermark="Select a system"
                                                DataContext="{Binding SelectedItem, ElementName=contactsDataGrid}"
                                                TabIndex="18"
                                                Text="{Binding Text, Converter={StaticResource ObtainThirdStringValue}, ElementName=updateSystemCombobox, Mode=OneWay}"
                                                TextWrapping="NoWrap" />
                                        </Grid>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition />
                                                <ColumnDefinition />
                                            </Grid.ColumnDefinitions>
                                            <Button
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Left"
                                                VerticalAlignment="Top"
                                                Command="{Binding UpdateSystemCommand}"
                                                Content="Update System"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="19">
                                                <Button.CommandParameter>
                                                    <MultiBinding Converter="{StaticResource UpdateSystemConverter}">
                                                        <Binding ElementName="updateSystemNewGroupComboBox" Path="Text" />
                                                        <Binding ElementName="updateSystemNewNameTextbox" Path="Text" />
                                                        <Binding ElementName="updateSystemNewIpTextbox" Path="Text" />
                                                    </MultiBinding>
                                                </Button.CommandParameter>
                                            </Button>
                                            <Button
                                                Grid.Column="1"
                                                Width="{Binding ElementName=deleteContactsButton_Copy, Path=ActualWidth}"
                                                Margin="5,0,5,5"
                                                HorizontalAlignment="Right"
                                                VerticalAlignment="Top"
                                                Command="{Binding DeleteSystemCommand}"
                                                Content="Delete System"
                                                FontSize="12"
                                                Style="{StaticResource MetroFlatButton}"
                                                TabIndex="20" />
                                        </Grid>
                                    </StackPanel>
                                </ScrollViewer>
                                <Grid Grid.Row="1" Grid.Column="1">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*" />
                                        <RowDefinition Height="Auto" />
                                    </Grid.RowDefinitions>
                                    <DataGrid
                                        x:Name="updateContactsDataGrid"
                                        Margin="5,0,5,5"
                                        AutoGenerateColumns="False"
                                        BorderBrush="#FFCCCCCC"
                                        BorderThickness="1"
                                        CanUserReorderColumns="True"
                                        CanUserResizeColumns="True"
                                        CanUserSortColumns="True"
                                        GridLinesVisibility="Horizontal"
                                        HorizontalGridLinesBrush="#FFCCCCCC"
                                        IsEnabled="{Binding IsEnabled}"
                                        ItemsSource="{Binding ContactList}"
                                        ScrollViewer.VerticalScrollBarVisibility="Auto"
                                        SelectedItem="{Binding SelectedContact}"
                                        SelectionUnit="FullRow">
                                        <DataGrid.Columns>
                                            <DataGridCheckBoxColumn
                                                Width="1*"
                                                Binding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                ElementStyle="{DynamicResource MetroDataGridCheckBox}"
                                                Header="Select"
                                                IsReadOnly="False">
                                                <DataGridCheckBoxColumn.HeaderTemplate>
                                                    <DataTemplate>
                                                        <CheckBox
                                                            x:Name="selectAllContactsCheckbox"
                                                            Controls:ControlsHelper.MouseOverBorderBrush="{DynamicResource AccentColorBrush}"
                                                            Command="{Binding SelectCheckboxCommand}"
                                                            CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                                            Content="SELECT"
                                                            DataContext="{StaticResource MainWindowViewModel}"
                                                            FontWeight="SemiBold"
                                                            IsChecked="{Binding ContactsAreChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                            IsEnabled="{Binding IsEnabled}" />
                                                    </DataTemplate>
                                                </DataGridCheckBoxColumn.HeaderTemplate>
                                            </DataGridCheckBoxColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="Name"
                                                SortMemberPath="ContactName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="Group"
                                                SortMemberPath="ContactGroupName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactGroupName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactGroupName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="System Name"
                                                SortMemberPath="ContactSystemName">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactSystemName}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactSystemName}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn
                                                Width="1*"
                                                Header="System IP"
                                                SortMemberPath="ContactSystemIp">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <TextBox
                                                            ContextMenu="{DynamicResource TextBoxMetroContextMenu}"
                                                            IsReadOnly="True"
                                                            Style="{StaticResource styleTrimmingTextbox}"
                                                            Text="{Binding ContactSystemIp}"
                                                            TextWrapping="NoWrap"
                                                            ToolTip="{Binding ContactSystemIp}" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                    <Button
                                        x:Name="deleteContactsButton_Copy"
                                        Grid.Row="1"
                                        Margin="5,0,5,5"
                                        HorizontalAlignment="Right"
                                        Command="{Binding DeleteButtonsCommand}"
                                        CommandParameter="{Binding Name, RelativeSource={RelativeSource Self}}"
                                        Content="Delete Contact(s)"
                                        FontSize="12"
                                        IsEnabled="{Binding IsEnabled}"
                                        Style="{StaticResource MetroFlatButton}"
                                        TabIndex="21" />
                                </Grid>
                            </Grid>
                        </TabItem>
                    </Controls:MetroAnimatedSingleRowTabControl>
                </TabItem>
            </Controls:MetroAnimatedSingleRowTabControl>
            <StatusBar
                Grid.Row="1"
                Height="35"
                VerticalAlignment="Top"
                Background="{DynamicResource ControlBackgroundBrush}"
                BorderBrush="#FFCCCCCC"
                BorderThickness="0,1,0,0">
                <StatusBar.ItemsPanel>
                    <ItemsPanelTemplate>
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                        </Grid>
                    </ItemsPanelTemplate>
                </StatusBar.ItemsPanel>
                <StatusBarItem Grid.Column="0">
                    <Controls:ProgressRing
                        Width="30"
                        Height="30"
                        Margin="0"
                        Foreground="{DynamicResource AccentColorBrush}"
                        Visibility="{Binding ProgressRingVisibility}" />
                </StatusBarItem>
                <StatusBarItem
                    Grid.Column="1"
                    Height="35"
                    Margin="0"
                    VerticalAlignment="Top"
                    Content="{Binding ProgressLabelText}"
                    Foreground="{DynamicResource TextBrush}" />
                <StatusBarItem Width="Auto" HorizontalAlignment="Stretch" />
                <StatusBarItem
                    Grid.Column="3"
                    Height="35"
                    Margin="0,0,5,0"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Top"
                    Content="{Binding NewVersionText}"
                    Foreground="{DynamicResource TextBrush}"
                    Visibility="Visible" />
                <StatusBarItem Grid.Column="4">
                    <Button
                        Margin="0,0,3,0"
                        Command="{Binding GetLatestVersionCommand}"
                        CommandParameter="{Binding ReleaseList[0].HtmlUrl}"
                        Content="{IconPacks:PackIconOcticons DesktopDownload}"
                        ToolTip="Download Now"
                        Visibility="{Binding NewVersionVisibility}" />
                </StatusBarItem>

                --><!--<StatusBarItem Height="35"
                               Margin="0,0,5,0"
                               VerticalAlignment="Top"
                               HorizontalAlignment="Right"
                               Style="{StaticResource styleHyperlinkStatusBarItem}"
                               Content="{IconPacks:PackIconOcticons Kind=DesktopDownload}"
                               ToolTip="Download Now"
                               Foreground="{DynamicResource TextBrush}"
                               Visibility="{Binding NewVersionVisibility}"
                               Grid.Column="4">
                    <StatusBarItem.InputBindings>
                        <MouseBinding Command="{Binding GetLatestVersionCommand}"
                                      CommandParameter="{Binding ReleaseList[0].HtmlUrl}"
                                      MouseAction="LeftClick" />
                    </StatusBarItem.InputBindings>
                </StatusBarItem>--><!--
            </StatusBar>
        </Grid>
    </Controls:MetroContentControl>-->
</Controls:MetroWindow>