<UserControl x:Class="Sched.CustomSubwindows.CollisionPanel"
             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:customCtrl="clr-namespace:Sched.CustomControls"
             mc:Ignorable="d" 
             d:DesignWidth="700">
    <UserControl.Resources>
        <Style TargetType="Label">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontWeight" Value="Bold"/>
        </Style>
        <Style TargetType="customCtrl:MiniTimetable">
            <Setter Property="MinHeight" Value="100"/>
        </Style>
    </UserControl.Resources>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>

        <customCtrl:MiniTimetable x:Name="MiniTable" Grid.Column="0"/>
        <StackPanel Grid.Column="1" Orientation="Vertical"  Margin="10,0">
            <TextBlock Text="{DynamicResource Collision_ShowLessons}" FontWeight="Bold"/>
            <ComboBox Name="CB_CollisionCategory" Margin="10"/>
            <TextBlock Text="{DynamicResource Collision_Legend}" FontWeight="Bold" Margin="0,5"/>

            <StackPanel Orientation="Horizontal">
                <Rectangle Fill="LawnGreen"  Margin="10,0"  Width="20" Height="20"/>
                <TextBlock Text="{DynamicResource Collision_Occupied_Weekly}"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Rectangle Fill="CornflowerBlue"  Margin="10,0"  Width="20" Height="20"/>
                <TextBlock Text="{DynamicResource Collision_Occupied_BiWeekly}"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Rectangle Fill="Gray"  Margin="10,0"  Width="20" Height="20"/>
                <TextBlock Text="{DynamicResource Collision_Occupied_Irregular}"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>