<UserControl x:Class="ThemedDialog.UI.ThemeControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.15.0"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <StaticResource ResourceKey="{x:Static vsfx:VsResourceKeys.ThemedDialogDefaultStylesKey}" />
            </ResourceDictionary.MergedDictionaries>

            <ResourceDictionary x:Key="Themes/Dark" Source="Themes/Dark/Theme.xaml" />
            <ResourceDictionary x:Key="Themes/Light" Source="Themes/Light/Theme.xaml" />
            <ResourceDictionary x:Key="Themes/Blue" Source="Themes/Blue/Theme.xaml" />
            <ResourceDictionary x:Key="Themes/HighContrast" Source="Themes/HighContrast/Theme.xaml" />
        </ResourceDictionary>
    </UserControl.Resources>
    <ListBox x:Name="ThemeListBox" DockPanel.Dock="Top" SelectionChanged="ThemeListBox_SelectionChanged">
        <Label>Light</Label>
        <Label>Blue</Label>
        <Label>Dark</Label>
        <Label>HighContrast</Label>
    </ListBox>
</UserControl>
