<Window x:Class="Sched.DatabaseWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:core="clr-namespace:System;assembly=mscorlib"
        xmlns:local="clr-namespace:Sched"
        xmlns:customClass="clr-namespace:Sched.CustomClasses"
        xmlns:customCtrl="clr-namespace:Sched.CustomControls"
        xmlns:customSubwindows="clr-namespace:Sched.CustomSubwindows"
        mc:Ignorable="d"
        Title="{DynamicResource Str_Database}"
        Height="600" Width="1000">
    <Window.Resources>
        <Style TargetType="{x:Type Button}">
            <Setter Property="Padding" Value="10,2"/>
        </Style>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" Background="#000080">
            <Label Content="{DynamicResource Str_Database}" FontSize="24" Margin="5" FontWeight="Bold" Foreground="White" VerticalAlignment="Top"/>
        </Grid>
        <DockPanel Grid.Row="1">
            <TreeView Name="TV_Category"  DockPanel.Dock="Left" Width="150"/>
            <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" Margin="5">
                <TextBox Name="TB_Filter" Width="200" Background="White" HorizontalAlignment="Left"/>
                <Button Name="BTN_Filter" Content="{DynamicResource DB_BTN_Filter}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="5,0"/>
                <Button Name="BTN_ResetView" Content="{DynamicResource DB_BTN_ResetView}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,0,5,0"/>
            </StackPanel>
            <Separator HorizontalAlignment="Stretch" DockPanel.Dock="Bottom"/>
            <ScrollViewer Name="SC_Main" Background="White"/>
        </DockPanel>
    </Grid>
</Window>
