<UserControl x:Class="Vulnerator.View.UI.ConfigurationManagementView"
             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:Converters="clr-namespace:Vulnerator.View.Converter"
             xmlns:IconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
             xmlns:LiveCharts="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
             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:local="clr-namespace:Vulnerator.View.UI"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
             xmlns:v="clr-namespace:Vulnerator.View"
             xmlns:validation="clr-namespace:Vulnerator.View.Validation"
             xmlns:vh="clr-namespace:Vulnerator.View.ViewHelper"
             xmlns:vm="clr-namespace:Vulnerator.ViewModel"
             HorizontalAlignment="Stretch"
             VerticalAlignment="Stretch"
             d:DesignWidth="800"
             DataContext="{Binding ConfigurationManagement, Source={StaticResource Locator}}"
             mc:Ignorable="d">

    <UserControl.Resources>
        <Converters:BooleanToCheckboxConverter x:Key="CheckboxConverter" />
        <Converters:IsNullToCollapsedConverter x:Key="IsNullToCollapsedConverter" />
    </UserControl.Resources>

    <Grid Background="{DynamicResource WindowBackgroundBrush}">
        <Controls:MetroAnimatedSingleRowTabControl Controls:TabControlHelper.Underlined="SelectedTabItem">
            <TabItem Header="Groups"
                     Style="{StaticResource CustomMetroTabItem}">
                <Grid Margin="{StaticResource MarginAll5}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <DataGrid Grid.Row="0"
                                  ItemsSource="{Binding Groups}"
                                  SelectedItem="{Binding SelectedGroup, Mode=TwoWay}"
                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn x:Name="projectsCheckBoxColumn"
                                                        Width="Auto">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox Margin="{StaticResource MarginLeft5}"
                                                      HorizontalAlignment="Center"
                                                      IsChecked="{Binding IsChecked}"
                                                      Style="{StaticResource CustomCheckBox}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding GroupName}"
                                                    Header="Name"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding GroupAcronym}"
                                                    Header="Acronym"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding GroupTier}"
                                                    Header="Tier"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="Auto"
                                                    Binding="{Binding Hardwares.Count}"
                                                    Header="Asset Count"
                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="HorizontalAlignment" Value="Center" />
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                </DataGridTextColumn>
                                <DataGridTemplateColumn Width="Auto"
                                                        Header="Is Accreditation"
                                                        HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}"
                                                        SortMemberPath="IsAccreditation">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <IconPacks:PackIconFontAwesomeLight HorizontalAlignment="Center"
                                                                                Kind="{Binding IsAccreditation, Converter={StaticResource CheckboxConverter}}"
                                                                                ToolTip="{Binding IsAccreditation}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                            </DataGrid.Columns>
                        </DataGrid>
                        <ScrollViewer Grid.Row="1"
                                      Margin="{StaticResource MarginTop5}"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"
                                      HorizontalScrollBarVisibility="Auto"
                                      VerticalScrollBarVisibility="Disabled">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Label Grid.Column="0"
                                       VerticalAlignment="Center">
                                    <TextBlock Text="Count:"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Label Grid.Column="1"
                                       VerticalAlignment="Center">
                                    <TextBlock Text="{Binding Groups.Count}"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Button Grid.Column="3"
                                        HorizontalAlignment="Right"
                                        Command="{Binding ClearSelectedGroupCommand}"
                                        Content="Clear Selected Group" />
                                <Button Grid.Column="4"
                                        Margin="{StaticResource MarginLeft5}"
                                        HorizontalAlignment="Right"
                                        Command="{Binding DeleteGroupCommand}"
                                        Content="Delete Selected Group" />
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                    <Expander Grid.Column="1"
                              Background="{DynamicResource WindowBackgroundBrush}"
                              BorderThickness="0"
                              ExpandDirection="Right"
                              Style="{StaticResource CustomExpander}">
                        <Expander.Header>
                            <Label Foreground="{DynamicResource LabelTextBrush}">
                                <Label.LayoutTransform>
                                    <RotateTransform Angle="90" />
                                </Label.LayoutTransform>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" />
                                        <ColumnDefinition Width="Auto" />
                                    </Grid.ColumnDefinitions>
                                    <IconPacks:PackIconFontAwesomeLight Grid.Column="0"
                                                                        Margin="{StaticResource MarginAll5}"
                                                                        HorizontalAlignment="Center"
                                                                        VerticalAlignment="Center"
                                                                        Kind="PlusSquare" />
                                    <TextBlock Grid.Column="1"
                                               Style="{StaticResource ExpanderHeaderTextBlockStyle}"
                                               Text="Add / Update" />
                                </Grid>
                            </Label>
                        </Expander.Header>
                        <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                                      VerticalScrollBarVisibility="Auto">
                            <StackPanel Width="200">
                                <TextBox Controls:TextBoxHelper.Watermark="Group Name"
                                         vh:DependencyProperties.AlternateValueTrigger="{Binding SelectedGroup}"
                                         vh:DependencyProperties.PrimaryValue="{Binding NewGroup.GroupName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         vh:DependencyProperties.SecondaryValue="{Binding SelectedGroup.GroupName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         TextWrapping="Wrap" />
                                <TextBox Controls:TextBoxHelper.Watermark="Group Acronym"
                                         vh:DependencyProperties.AlternateValueTrigger="{Binding SelectedGroup}"
                                         vh:DependencyProperties.PrimaryValue="{Binding NewGroup.GroupAcronym, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         vh:DependencyProperties.SecondaryValue="{Binding SelectedGroup.GroupAcronym, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         TextWrapping="Wrap" />
                                <TextBox Controls:TextBoxHelper.Watermark="Group Tier (Digits Only)"
                                         vh:DependencyProperties.AlternateValueTrigger="{Binding SelectedGroup}"
                                         vh:DependencyProperties.FloatingWatermark="Group Tier"
                                         vh:DependencyProperties.PrimaryValue="{Binding NewGroup.GroupTier, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         vh:DependencyProperties.SecondaryValue="{Binding SelectedGroup.GroupTier, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         TextWrapping="Wrap" />
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedGroup.Hardwares}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}"
                                          Visibility="{Binding SelectedGroup, Converter={StaticResource IsNullToCollapsedConverter}}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Width="*"
                                                            Binding="{Binding DisplayedHostName}"
                                                            Header="Associated Hardware"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <ComboBox Controls:TextBoxHelper.ButtonCommand="{Binding AddHardwareToGroupCommand}"
                                          Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                          Controls:TextBoxHelper.ClearTextButton="True"
                                          Controls:TextBoxHelper.Watermark="Add Hardware"
                                          DisplayMemberPath="DisplayedHostName"
                                          ItemsSource="{Binding Hardwares}"
                                          SelectedItem="{Binding SelectedHardwareForGroupMapping, UpdateSourceTrigger=PropertyChanged, Mode=OneWayToSource}"
                                          Style="{StaticResource HeaderedComboBoxStyle}"
                                          Visibility="{Binding SelectedGroup, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <Controls:ToggleSwitch x:Name="groupAccreditationToggleSwitch"
                                                       Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       vh:DependencyProperties.AlternateValueTrigger="{Binding SelectedGroup}"
                                                       vh:DependencyProperties.PrimaryValue="{Binding NewGroup.IsAccreditation, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                       vh:DependencyProperties.SecondaryValue="{Binding SelectedGroup.IsAccreditation, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                       Content="Is Accreditation"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <TextBox Controls:TextBoxHelper.Watermark="eMASS ID (Digits Only)"
                                         vh:DependencyProperties.FloatingWatermark="eMASS ID"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedGroup.Accreditation_eMASS_ID, Mode=TwoWay}"
                                         TextWrapping="Wrap"
                                         Visibility="{Binding ElementName=groupAccreditationToggleSwitch, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       vh:DependencyProperties.AlternateValueTrigger="{Binding SelectedGroup}"
                                                       vh:DependencyProperties.PrimaryValue="{Binding NewGroup.IsPlatform, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                       vh:DependencyProperties.SecondaryValue="{Binding SelectedGroup.IsPlatform, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                                       Content="Is Platform"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Button Margin="{StaticResource MarginTop5}"
                                        HorizontalAlignment="Center"
                                        Command="{Binding ModifyGroupCommand}"
                                        Content="Add/Update Group" />
                            </StackPanel>
                        </ScrollViewer>
                    </Expander>
                    <!--  TODO: Implement Bulk Process Expander  -->
                    <!--  TODO: Implement Filter Expander  -->
                </Grid>
            </TabItem>
            <TabItem Header="Hardware"
                     Style="{StaticResource CustomMetroTabItem}">
                <Grid Margin="{StaticResource MarginLeftRightBottom5}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <DataGrid Grid.Row="0"
                                  ItemsSource="{Binding Hardwares}"
                                  SelectedItem="{Binding SelectedHardware}"
                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn x:Name="hardwareCheckBoxColumn"
                                                        Width="Auto">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox Margin="{StaticResource MarginLeft5}"
                                                      HorizontalAlignment="Center"
                                                      IsChecked="{Binding IsChecked}"
                                                      Style="{StaticResource CustomCheckBox}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding DisplayedHostName}"
                                                    Header="Preferred Host Name"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding FQDN}"
                                                    Header="FQDN"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding NetBIOS}"
                                                    Header="NetBIOS"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding ScanIP}"
                                                    Header="Last Scan IP"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                            </DataGrid.Columns>
                        </DataGrid>
                        <ScrollViewer Grid.Row="1"
                                      Margin="{StaticResource MarginTop5}"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"
                                      HorizontalScrollBarVisibility="Auto"
                                      VerticalScrollBarVisibility="Disabled">
                            <Grid HorizontalAlignment="Stretch"
                                  DockPanel.Dock="Top">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Label Grid.Column="0"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="Count:"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Label Grid.Column="1"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="{Binding Hardwares.Count}"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Button Grid.Column="3"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Clear Selected Hardware" />
                                <!-- TODO: Incorporate ability to delete HW -->
                                <!--<Button Grid.Column="4"
                                        Margin="{StaticResource MarginLeft5}"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Delete Selected Hardware" />-->
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                    <Expander Grid.Column="1"
                              Background="{DynamicResource WindowBackgroundBrush}"
                              BorderThickness="0"
                              ExpandDirection="Right"
                              Style="{StaticResource CustomExpander}">
                        <Expander.Header>
                            <Label Foreground="{DynamicResource LabelTextBrush}">
                                <Label.LayoutTransform>
                                    <RotateTransform Angle="90" />
                                </Label.LayoutTransform>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" />
                                        <ColumnDefinition Width="Auto" />
                                    </Grid.ColumnDefinitions>
                                    <IconPacks:PackIconFontAwesomeLight Grid.Column="0"
                                                                        Margin="{StaticResource MarginAll5}"
                                                                        HorizontalAlignment="Center"
                                                                        VerticalAlignment="Center"
                                                                        Kind="Edit"
                                                                        RotationAngle="270" />
                                    <TextBlock Grid.Column="1"
                                               Style="{StaticResource ExpanderHeaderTextBlockStyle}"
                                               Text="Update" />
                                </Grid>
                            </Label>
                        </Expander.Header>
                        <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                                      VerticalScrollBarVisibility="Auto">
                            <StackPanel>
                                <TextBox Controls:TextBoxHelper.Watermark="Discovered Host Name (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="Discovered Host Name"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.DiscoveredHostName, Mode=OneWay}"
                                         Visibility="{Binding SelectedHardware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Preferred Host Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.DisplayedHostName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="FQDN (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="FQDN"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.FQDN, Mode=OneWay}"
                                         Visibility="{Binding SelectedHardware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <TextBox Controls:TextBoxHelper.Watermark="NetBIOS Name (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="NetBIOS Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.NetBIOS, Mode=OneWay}"
                                         Visibility="{Binding SelectedHardware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Scan IP (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="Scan IP"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.ScanIP, Mode=OneWay}"
                                         Visibility="{Binding SelectedHardware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <DataGrid MinHeight="100"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedHardware.IP_Addresses}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Binding="{Binding IpAddress}"
                                                            Header="IP Address"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <!--  TODO: Add ability to associate IPs to Hardware  -->
                                <!--<vh:CommandEnabledComboBox Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                                           Controls:TextBoxHelper.ClearTextButton="True"
                                                           Controls:TextBoxHelper.Watermark="Add IP"
                                                           IsEditable="True"
                                                           Style="{StaticResource HeaderedComboBoxStyle}" />-->
                                <DataGrid MinHeight="100"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedHardware.MAC_Addresses}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Binding="{Binding MacAddress}"
                                                            Header="MAC Address"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <!--  TODO: Add ability to associate MACs to Hardware  -->
                                <!--<vh:CommandEnabledComboBox Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                                           Controls:TextBoxHelper.ClearTextButton="True"
                                                           Controls:TextBoxHelper.Watermark="Add MAC"
                                                           IsEditable="True"
                                                           Style="{StaticResource HeaderedComboBoxStyle}" />-->
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedHardware.Groups}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}"
                                          Visibility="{Binding SelectedHardware, Converter={StaticResource IsNullToCollapsedConverter}}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Width="Auto"
                                                            Binding="{Binding GroupName}"
                                                            Header="Associated Groups"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <ComboBox Controls:TextBoxHelper.ButtonCommand="{Binding AddGroupToHardwareCommand}"
                                          Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                          Controls:TextBoxHelper.ClearTextButton="True"
                                          Controls:TextBoxHelper.Watermark="Add Group"
                                          DisplayMemberPath="GroupName"
                                          ItemsSource="{Binding Groups}"
                                          SelectedItem="{Binding SelectedGroupForHardwareMapping, UpdateSourceTrigger=PropertyChanged, Mode=OneWayToSource}"
                                          Style="{StaticResource HeaderedComboBoxStyle}" />
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedHardware.SoftwareHardwares}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Binding="{Binding Software.DisplayedSoftwareName}"
                                                            Header="Installed Software"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <!--  TODO: Add ability to associate Software to Hardware  -->
                                <!--<vh:CommandEnabledComboBox Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                                           Controls:TextBoxHelper.ClearTextButton="True"
                                                           Controls:TextBoxHelper.Watermark="Add Software"
                                                           IsEditable="True"
                                                           Style="{StaticResource HeaderedComboBoxStyle}" />-->
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedHardware.HardwarePortsProtocolsServices}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Width="Auto"
                                                            Binding="{Binding PortProtocolService.Port}"
                                                            Header="Port"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                        <DataGridTextColumn Width="Auto"
                                                            Binding="{Binding PortProtocolService.Protocol}"
                                                            Header="Protocol"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                        <DataGridTextColumn Width="Auto"
                                                            Binding="{Binding PortProtocolService.DisplayedServiceName}"
                                                            Header="Service"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <TextBox Controls:TextBoxHelper.Watermark="Operating System"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.OperatingSystem, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Found 21745"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedHardware.Found21745}"
                                                       IsEnabled="False"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Found 26917"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedHardware.Found26917}"
                                                       IsEnabled="False"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is Virtual Server"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedHardware.IsVirtualServer}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is IA Enabled"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedHardware.IsIA_Enabled}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <TextBox Controls:TextBoxHelper.Watermark="NIAP Level"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.NIAP_Level, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Manufacturer"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.Manufacturer, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Serial Number"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.SerialNumber, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Role"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedHardware.Role, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <!-- TODO: Incorporate ability to modify HW -->
                                <!--<Button Margin="{StaticResource MarginTop5}"
                                        HorizontalAlignment="Center"
                                        Command="{Binding}"
                                        Content="Update Hardware" />-->
                            </StackPanel>
                        </ScrollViewer>
                    </Expander>
                    <!--  TODO: Implement Bulk Process Expander  -->
                    <!--  TODO: Implement Filter Expander  -->
                </Grid>
            </TabItem>
            <TabItem Header="Software"
                     Style="{StaticResource CustomMetroTabItem}">
                <Grid Margin="{StaticResource MarginLeftRightBottom5}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <DataGrid Grid.Row="0"
                                  ItemsSource="{Binding Softwares}"
                                  SelectedItem="{Binding SelectedSoftware, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn x:Name="softwareCheckBoxColumn"
                                                        Width="Auto">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox Margin="{StaticResource MarginLeft5}"
                                                      HorizontalAlignment="Center"
                                                      IsChecked="{Binding IsChecked}"
                                                      Style="{StaticResource CustomCheckBox}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding DisplayedSoftwareName}"
                                                    Header="Preferred Software Name"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="Auto"
                                                    Binding="{Binding SoftwareHardwares.Count}"
                                                    Header="Count"
                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}"
                                                    IsReadOnly="True" />
                            </DataGrid.Columns>
                        </DataGrid>
                        <ScrollViewer Grid.Row="1"
                                      Margin="{StaticResource MarginTop5}"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"
                                      HorizontalScrollBarVisibility="Auto"
                                      VerticalScrollBarVisibility="Disabled">
                            <Grid HorizontalAlignment="Stretch">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Label Grid.Column="0"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="Count:"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Label Grid.Column="1"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="{Binding Softwares.Count}"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Button Grid.Column="3"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Clear Selected Software" />
                                <!-- TODO: Incorporate ability to delete SW -->
                                <!--<Button Grid.Column="4"
                                        Margin="{StaticResource MarginLeft5}"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Delete Selected Software" />-->
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                    <Expander Grid.Column="1"
                              Background="{DynamicResource WindowBackgroundBrush}"
                              BorderThickness="0"
                              ExpandDirection="Right"
                              Style="{StaticResource CustomExpander}">
                        <Expander.Header>
                            <Label Foreground="{DynamicResource LabelTextBrush}">
                                <Label.LayoutTransform>
                                    <RotateTransform Angle="90" />
                                </Label.LayoutTransform>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" />
                                        <ColumnDefinition Width="Auto" />
                                    </Grid.ColumnDefinitions>
                                    <IconPacks:PackIconFontAwesomeLight Grid.Column="0"
                                                                        Margin="{StaticResource MarginAll5}"
                                                                        HorizontalAlignment="Center"
                                                                        VerticalAlignment="Center"
                                                                        Kind="Edit"
                                                                        RotationAngle="270" />
                                    <TextBlock Grid.Column="1"
                                               Style="{StaticResource ExpanderHeaderTextBlockStyle}"
                                               Text="Update" />
                                </Grid>
                            </Label>
                        </Expander.Header>
                        <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                                      VerticalScrollBarVisibility="Auto">
                            <StackPanel Width="250">
                                <TextBox Controls:TextBoxHelper.Watermark="Discovered Software Name (Read Only)"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.DiscoveredSoftwareName, Mode=OneWay}"
                                         Visibility="{Binding SelectedSoftware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Preferred Software Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.DisplayedSoftwareName, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Software Acronym"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.SoftwareAcronym, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Software Version (Read Only)"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.SoftwareVersion, Mode=OneWay}"
                                         Visibility="{Binding SelectedSoftware, Converter={StaticResource IsNullToCollapsedConverter}}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Software Function"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.SoftwareFunction, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                         MaxLength="500"
                                         vh:DependencyProperties.ShowCharacterCount="True"/>
                                <TextBox Controls:TextBoxHelper.Watermark="Software Description"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.SoftwareDescription, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                         MaxLength="1000"
                                         vh:DependencyProperties.ShowCharacterCount="True"/>
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedSoftware.SoftwareHardwares}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Width="*"
                                                            Binding="{Binding Hardware.DisplayedHostName}"
                                                            Header="Associated Hardware"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <!--  TODO: Enable Hardware-to-software mapping  -->
                                <!--<vh:CommandEnabledComboBox Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                                           Controls:TextBoxHelper.ClearTextButton="True"
                                                           Controls:TextBoxHelper.Watermark="Associated Hardware"
                                                           IsEditable="True"
                                                           Style="{StaticResource HeaderedComboBoxStyle}" />-->
                                <TextBox Controls:TextBoxHelper.Watermark="DADMS ID"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.DADMS_ID, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="DADMS Disposition"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.DADMS_Disposition, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="DADMS Last Date Approved"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.DADMS_LastDateAuthorized, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is OS / Firmware"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.IsOS_OrFirmware, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Has Custom Code"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.HasCustomCode, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is IA / IA Enabled"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.IA_OrIA_Enabled, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is FAM Accepted"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.FAM_Accepted, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Is Externally Authorized"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.ExternallyAuthorized, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Report in Accreditation"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.ReportInAccreditationGlobal, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <Controls:ToggleSwitch Margin="{StaticResource MarginTop5}"
                                                       HorizontalContentAlignment="Right"
                                                       Content="Approved for Baseline"
                                                       FontFamily="Segoe UI"
                                                       FontSize="12"
                                                       IsChecked="{Binding SelectedSoftware.ApprovedForBaselineGlobal, UpdateSourceTrigger=LostFocus, Mode=TwoWay}"
                                                       Style="{StaticResource CustomWin10ToggleSwitchStyle}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Baseline Approver"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedSoftware.BaselineApproverGlobal, UpdateSourceTrigger=LostFocus, Mode=TwoWay}" />
                                <!-- TODO: Incorporate ability to modify SW -->
                                <!--<Button Margin="{StaticResource MarginTop5}"
                                        HorizontalAlignment="Center"
                                        Command="{Binding}"
                                        Content="Update Software" />-->
                            </StackPanel>
                        </ScrollViewer>
                    </Expander>
                    <!--  TODO: Implement Bulk Process Expander  -->
                    <!--  TODO: Implement Filter Expander  -->
                </Grid>
            </TabItem>
            <TabItem Header="PPS"
                     Style="{StaticResource CustomMetroTabItem}">
                <Grid Margin="{StaticResource MarginLeftRightBottom5}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <DataGrid Grid.Row="0"
                                  ItemsSource="{Binding PortsProtocolsServices}"
                                  SelectedItem="{Binding SelectedPPS, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                  Style="{StaticResource GreyBorderedDataGridStyle}"
                                  VerticalScrollBarVisibility="Auto">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn x:Name="ppsCheckBoxColumn"
                                                        Width="Auto">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox Margin="{StaticResource MarginLeft5}"
                                                      HorizontalAlignment="Center"
                                                      IsChecked="{Binding IsChecked}"
                                                      Style="{StaticResource CustomCheckBox}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Port}"
                                                    Header="Port"
                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Protocol}"
                                                    Header="Protocol"
                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}" />
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding DisplayedServiceName}"
                                                    Header="Service"
                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}" />
                            </DataGrid.Columns>
                        </DataGrid>
                        <ScrollViewer Grid.Row="1"
                                      Margin="{StaticResource MarginTop5}"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"
                                      HorizontalScrollBarVisibility="Auto"
                                      VerticalScrollBarVisibility="Disabled">
                            <Grid HorizontalAlignment="Stretch">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Label Grid.Column="0"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="Count:"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Label Grid.Column="1"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="{Binding PortsProtocolsServices.Count}"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Button Grid.Column="3"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Clear Selected PPS" />
                                <!-- TODO: Incorporate ability to delete PPS -->
                                <!--<Button Grid.Column="4"
                                        Margin="{StaticResource MarginLeft5}"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Delete PPS" />-->
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                    <Expander Grid.Column="1"
                              Background="{DynamicResource WindowBackgroundBrush}"
                              BorderThickness="0"
                              ExpandDirection="Right"
                              Style="{StaticResource CustomExpander}">
                        <Expander.Header>
                            <Label Foreground="{DynamicResource LabelTextBrush}">
                                <Label.LayoutTransform>
                                    <RotateTransform Angle="90" />
                                </Label.LayoutTransform>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" />
                                        <ColumnDefinition Width="Auto" />
                                    </Grid.ColumnDefinitions>
                                    <IconPacks:PackIconFontAwesomeLight Grid.Column="0"
                                                                        Margin="{StaticResource MarginAll5}"
                                                                        HorizontalAlignment="Center"
                                                                        VerticalAlignment="Center"
                                                                        Kind="Edit"
                                                                        RotationAngle="270" />
                                    <TextBlock Grid.Column="1"
                                               Style="{StaticResource ExpanderHeaderTextBlockStyle}"
                                               Text="Update" />
                                </Grid>
                            </Label>
                        </Expander.Header>
                        <ScrollViewer>
                            <StackPanel Width="200">
                                <TextBox Controls:TextBoxHelper.Watermark="Port (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="Port"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedPPS.Port, Mode=OneWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Protocol (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="Protocol"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedPPS.Protocol, Mode=OneWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Discovered Service Name (Read Only)"
                                         vh:DependencyProperties.FloatingWatermark="Discovered Service Name"
                                         IsReadOnly="True"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedPPS.DiscoveredServiceName, Mode=OneWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Displayed Service Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedPPS.DisplayedServiceName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Service Acronym"
                                         Style="{StaticResource HeaderedTextBoxStyle}"
                                         Text="{Binding SelectedPPS.ServiceAcronym, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" />
                                <DataGrid MinHeight="100"
                                          MaxHeight="300"
                                          Margin="{StaticResource MarginTop5}"
                                          ItemsSource="{Binding SelectedPPS.HardwarePortsProtocolsServices}"
                                          Style="{StaticResource GreyBorderedDataGridStyle}">
                                    <DataGrid.Columns>
                                        <DataGridTextColumn Width="Auto"
                                                            Binding="{Binding Hardware.DisplayedHostName}"
                                                            Header="Associated Hardware"
                                                            HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                    </DataGrid.Columns>
                                </DataGrid>
                                <!--  TODO: Add ability to associate HW to PPS  -->
                                <!--<vh:CommandEnabledComboBox Controls:TextBoxHelper.ButtonContent="{IconPacks:FontAwesomeLight Kind=PlusSquare}"
                                                           Controls:TextBoxHelper.ClearTextButton="True"
                                                           Controls:TextBoxHelper.Watermark="Add Hardware"
                                                           IsEditable="True"
                                                           Style="{StaticResource HeaderedComboBoxStyle}" />-->
                            </StackPanel>
                        </ScrollViewer>
                    </Expander>
                    <!--  TODO: Implement Bulk Process Expander  -->
                    <!--  TODO: Implement Filter Expander  -->
                </Grid>
            </TabItem>
            <!--  TODO: Implement Contacts UI  -->
            <!--<TabItem Header="Contacts"
                     Style="{StaticResource CustomMetroTabItem}">
                <Grid Margin="5,0,5,5">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <DataGrid Grid.Row="0"
                                  ItemsSource="{Binding Contacts}"
                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn x:Name="contactsCheckBoxColumn"
                                                        Width="Auto">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <CheckBox Margin="{StaticResource MarginLeft5}"
                                                      HorizontalAlignment="Center"
                                                      IsChecked="{Binding IsChecked}"
                                                      Style="{StaticResource CustomCheckBox}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding First_Name}"
                                                    Header="First Name"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                    <DataGridTextColumn.EditingElementStyle>
                                        <Style BasedOn="{StaticResource HeaderedTextBoxStyle}"
                                               TargetType="TextBox">
                                            <Setter Property="Controls:TextBoxHelper.Watermark" Value="First Name" />
                                            <Setter Property="Margin" Value="0,5,5,5" />
                                            <Setter Property="vh:DependencyProperties.FloatingWatermarkForeground" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}" />
                                        </Style>
                                    </DataGridTextColumn.EditingElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Last_Name}"
                                                    Header="Last Name"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                    <DataGridTextColumn.EditingElementStyle>
                                        <Style BasedOn="{StaticResource HeaderedTextBoxStyle}"
                                               TargetType="TextBox">
                                            <Setter Property="Controls:TextBoxHelper.Watermark" Value="Last Name" />
                                            <Setter Property="Margin" Value="0,5,5,5" />
                                            <Setter Property="vh:DependencyProperties.FloatingWatermarkForeground" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}" />
                                        </Style>
                                    </DataGridTextColumn.EditingElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Email}"
                                                    Header="Email"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                    <DataGridTextColumn.EditingElementStyle>
                                        <Style BasedOn="{StaticResource HeaderedTextBoxStyle}"
                                               TargetType="TextBox">
                                            <Setter Property="Controls:TextBoxHelper.Watermark" Value="Email" />
                                            <Setter Property="Margin" Value="0,5,5,5" />
                                            <Setter Property="vh:DependencyProperties.FloatingWatermarkForeground" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}" />
                                        </Style>
                                    </DataGridTextColumn.EditingElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Title.Title1}"
                                                    Header="Title"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                    <DataGridTextColumn.EditingElementStyle>
                                        <Style BasedOn="{StaticResource HeaderedTextBoxStyle}"
                                               TargetType="TextBox">
                                            <Setter Property="Controls:TextBoxHelper.Watermark" Value="Title" />
                                            <Setter Property="Margin" Value="0,5,5,5" />
                                            <Setter Property="vh:DependencyProperties.FloatingWatermarkForeground" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}" />
                                        </Style>
                                    </DataGridTextColumn.EditingElementStyle>
                                </DataGridTextColumn>
                                <DataGridTextColumn Width="*"
                                                    Binding="{Binding Organization.Organization1}"
                                                    Header="Organization"
                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}">
                                    <DataGridTextColumn.ElementStyle>
                                        <Style BasedOn="{StaticResource MetroTextBlock}"
                                               TargetType="TextBlock">
                                            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
                                            <Setter Property="TextWrapping" Value="NoWrap" />
                                        </Style>
                                    </DataGridTextColumn.ElementStyle>
                                    <DataGridTextColumn.EditingElementStyle>
                                        <Style BasedOn="{StaticResource HeaderedTextBoxStyle}"
                                               TargetType="TextBox">
                                            <Setter Property="Controls:TextBoxHelper.Watermark" Value="Organization" />
                                            <Setter Property="Margin" Value="0,5,5,5" />
                                            <Setter Property="vh:DependencyProperties.FloatingWatermarkForeground" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}" />
                                        </Style>
                                    </DataGridTextColumn.EditingElementStyle>
                                </DataGridTextColumn>
                            </DataGrid.Columns>
                            <DataGrid.RowDetailsTemplate>
                                <DataTemplate>
                                    <Grid>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="{Binding ElementName=contactsCheckBoxColumn, Path=ActualWidth}" />
                                            <ColumnDefinition Width="*" />
                                            <ColumnDefinition Width="*" />
                                            <ColumnDefinition Width="*" />
                                            <ColumnDefinition Width="*" />
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition />
                                            <RowDefinition />
                                            <RowDefinition />
                                            <RowDefinition />
                                        </Grid.RowDefinitions>
                                        <DataGrid Grid.Column="1"
                                                  Grid.ColumnSpan="4"
                                                  Height="200"
                                                  Margin="0,0,5,5"
                                                  VerticalAlignment="Top"
                                                  AutoGenerateColumns="False"
                                                  CanUserAddRows="True"
                                                  IsReadOnly="True"
                                                  ItemsSource="{Binding Hardwares}"
                                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                                            <DataGrid.Columns>
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding DisplayedHostName}"
                                                                    Header="Preferred Host Name"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding Discovered_Host_Name}"
                                                                    Header="Discovered Host Name"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding FQDN}"
                                                                    Header="FQDN"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding NetBIOS}"
                                                                    Header="NetBIOS"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding ScanIP}"
                                                                    Header="Last Scan IP"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                            </DataGrid.Columns>
                                        </DataGrid>
                                        <ComboBox Grid.Row="1"
                                                  Grid.Column="1"
                                                  Margin="0,0,5,5"
                                                  VerticalAlignment="Bottom"
                                                  Controls:TextBoxHelper.ButtonCommand="{Binding}"
                                                  Controls:TextBoxHelper.ButtonContent="{IconPacks:Material Kind=PlusBoxOutline}"
                                                  Controls:TextBoxHelper.ClearTextButton="True"
                                                  Controls:TextBoxHelper.Watermark="Add Associated Hardware"
                                                  vh:DependencyProperties.FloatingWatermark="Hardware"
                                                  vh:DependencyProperties.FloatingWatermarkForeground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}"
                                                  IsEditable="True"
                                                  Style="{StaticResource HeaderedComboBoxStyle}" />
                                        <DataGrid Grid.Row="2"
                                                  Grid.Column="1"
                                                  Height="100"
                                                  Margin="0,0,5,5"
                                                  VerticalAlignment="Top"
                                                  CanUserAddRows="True"
                                                  ItemsSource="{Binding Softwares}"
                                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                                            <DataGrid.Columns>
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding DisplayedSoftwareName}"
                                                                    Header="Associated Software"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                                <DataGridTextColumn Width="Auto"
                                                                    Binding="{Binding SoftwareVersion}"
                                                                    Header="Version"
                                                                    HeaderStyle="{StaticResource CustomCenterAlignedDataGridHeaderStyle}" />
                                            </DataGrid.Columns>
                                        </DataGrid>
                                        <DataGrid Grid.Row="2"
                                                  Grid.Column="2"
                                                  Height="100"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Top"
                                                  IsReadOnly="True"
                                                  ItemsSource="{Binding Groups}"
                                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                                            <DataGrid.Columns>
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding Name}"
                                                                    Header="Associated Groups"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                            </DataGrid.Columns>
                                        </DataGrid>
                                        <DataGrid Grid.Row="2"
                                                  Grid.Column="3"
                                                  Height="100"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Top"
                                                  IsReadOnly="True"
                                                  ItemsSource="{Binding Accreditations}"
                                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                                            <DataGrid.Columns>
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding Accreditation_Name}"
                                                                    Header="Associated Accreditations"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                            </DataGrid.Columns>
                                        </DataGrid>
                                        <DataGrid Grid.Row="2"
                                                  Grid.Column="4"
                                                  Height="100"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Top"
                                                  IsReadOnly="True"
                                                  ItemsSource="{Binding Certifications}"
                                                  Style="{StaticResource GreyBorderedDataGridStyle}">
                                            <DataGrid.Columns>
                                                <DataGridTextColumn Width="*"
                                                                    Binding="{Binding Certification1}"
                                                                    Header="Associated Certifications"
                                                                    HeaderStyle="{StaticResource CustomLeftAlignedDataGridHeaderStyle}" />
                                            </DataGrid.Columns>
                                        </DataGrid>
                                        <ComboBox Grid.Row="3"
                                                  Grid.Column="1"
                                                  Margin="0,0,5,5"
                                                  VerticalAlignment="Bottom"
                                                  Controls:TextBoxHelper.ButtonCommand="{Binding}"
                                                  Controls:TextBoxHelper.ButtonContent="{IconPacks:Material Kind=PlusBoxOutline}"
                                                  Controls:TextBoxHelper.ClearTextButton="True"
                                                  Controls:TextBoxHelper.Watermark="Add Associated Software"
                                                  vh:DependencyProperties.FloatingWatermark="Software"
                                                  vh:DependencyProperties.FloatingWatermarkForeground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}"
                                                  IsEditable="True"
                                                  Style="{StaticResource HeaderedComboBoxStyle}" />
                                        <ComboBox Grid.Row="3"
                                                  Grid.Column="2"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Bottom"
                                                  Controls:TextBoxHelper.ButtonCommand="{Binding}"
                                                  Controls:TextBoxHelper.ButtonContent="{IconPacks:Material Kind=PlusBoxOutline}"
                                                  Controls:TextBoxHelper.ClearTextButton="True"
                                                  Controls:TextBoxHelper.Watermark="Add Associated Group"
                                                  vh:DependencyProperties.FloatingWatermark="Group"
                                                  vh:DependencyProperties.FloatingWatermarkForeground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}"
                                                  IsEditable="True"
                                                  Style="{StaticResource HeaderedComboBoxStyle}" />
                                        <ComboBox Grid.Row="3"
                                                  Grid.Column="3"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Bottom"
                                                  Controls:TextBoxHelper.ButtonCommand="{Binding}"
                                                  Controls:TextBoxHelper.ButtonContent="{IconPacks:Material Kind=PlusBoxOutline}"
                                                  Controls:TextBoxHelper.ClearTextButton="True"
                                                  Controls:TextBoxHelper.Watermark="Add Associated Accreditation"
                                                  vh:DependencyProperties.FloatingWatermark="Accreditation"
                                                  vh:DependencyProperties.FloatingWatermarkForeground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}"
                                                  IsEditable="True"
                                                  Style="{StaticResource HeaderedComboBoxStyle}" />
                                        <ComboBox Grid.Row="3"
                                                  Grid.Column="4"
                                                  Margin="5,0,5,5"
                                                  VerticalAlignment="Bottom"
                                                  Controls:TextBoxHelper.ButtonCommand="{Binding}"
                                                  Controls:TextBoxHelper.ButtonContent="{IconPacks:Material Kind=PlusBoxOutline}"
                                                  Controls:TextBoxHelper.ClearTextButton="True"
                                                  Controls:TextBoxHelper.Watermark="Add Associated Certification"
                                                  vh:DependencyProperties.FloatingWatermark="Certification"
                                                  vh:DependencyProperties.FloatingWatermarkForeground="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=DataGridRow}, Path=Foreground}"
                                                  IsEditable="True"
                                                  Style="{StaticResource HeaderedComboBoxStyle}" />
                                    </Grid>
                                </DataTemplate>
                            </DataGrid.RowDetailsTemplate>
                        </DataGrid>
                        <ScrollViewer Grid.Row="1"
                                      Margin="{StaticResource MarginTop5}"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"
                                      HorizontalScrollBarVisibility="Auto"
                                      VerticalScrollBarVisibility="Disabled">
                            <Grid HorizontalAlignment="Stretch">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>
                                <Label Grid.Column="0"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="Count:"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Label Grid.Column="1"
                                       VerticalAlignment="Bottom">
                                    <TextBlock Text="{Binding Contacts.Count}"
                                               TextTrimming="CharacterEllipsis" />
                                </Label>
                                <Button Grid.Column="3"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Clear Selected Contact" />
                                <Button Grid.Column="4"
                                        Margin="{StaticResource MarginLeft5}"
                                        HorizontalAlignment="Right"
                                        Command="{Binding}"
                                        Content="Delete Selected Contact" />
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                    <Expander Grid.Column="1"
                              Background="{DynamicResource WindowBackgroundBrush}"
                              BorderThickness="0"
                              ExpandDirection="Right">
                        <Expander.Header>
                            <Label Foreground="{DynamicResource LabelTextBrush}">
                                <Label.LayoutTransform>
                                    <RotateTransform Angle="90" />
                                </Label.LayoutTransform>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" />
                                        <ColumnDefinition Width="Auto" />
                                    </Grid.ColumnDefinitions>
                                    <IconPacks:PackIconFontAwesomeLight Grid.Column="0"
                                                                        Margin="{StaticResource MarginAll5}"
                                                                        HorizontalAlignment="Center"
                                                                        VerticalAlignment="Center"
                                                                        Kind="PlusSquare" />
                                    <TextBlock Grid.Column="1"
                                               Style="{StaticResource ExpanderHeaderTextBlockStyle}"
                                               Text="Add / Update" />
                                </Grid>
                            </Label>
                        </Expander.Header>
                        <ScrollViewer>
                            <StackPanel Width="200">
                                <TextBox Controls:TextBoxHelper.Watermark="First Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Last Name"
                                         Style="{StaticResource HeaderedTextBoxStyle}" />
                                <TextBox Controls:TextBoxHelper.Watermark="Email"
                                         Style="{StaticResource HeaderedTextBoxStyle}" />
                                <ComboBox Controls:TextBoxHelper.Watermark="Title"
                                          IsEditable="True"
                                          Style="{StaticResource HeaderedComboBoxStyle}" />
                                <Button Margin="{StaticResource MarginTop5}"
                                        HorizontalAlignment="Center"
                                        Command="{Binding ModifyGroupCommand}"
                                        Content="Add/Update Contact" />
                            </StackPanel>
                        </ScrollViewer>
                    </Expander>
            -->
            <!--  TODO: Implement Bulk Process Expander  -->
            <!--  TODO: Implement Filter Expander  -->
            <!--
                </Grid>
            </TabItem>-->

        </Controls:MetroAnimatedSingleRowTabControl>
    </Grid>
</UserControl>
