<UserControl x:Class="Sched.CustomSubwindows.DatagridPanel"
             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:local="clr-namespace:Sched.CustomSubwindows"
             mc:Ignorable="d" 
             d:DesignHeight="200" d:DesignWidth="400">
    <UserControl.Resources>
        <Style TargetType="{x:Type Label}">
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="FontSize" Value="32"/>
        </Style>
        <Style TargetType="{x:Type Button}">
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Padding" Value="5"/>
            <Setter Property="MinWidth" Value="24"/>
            <Setter Property="Margin" Value="10,0"/>
        </Style>
    </UserControl.Resources>
    <DockPanel>
        <Grid DockPanel.Dock="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Button Name="BTN_Import" Grid.Column="0" Content="{DynamicResource DB_BTN_ImportCSV}"/>
            <Button Name="BTN_Export" Grid.Column="1" Content="{DynamicResource DB_BTN_ExportCSV}"/>
        </Grid>
        <ScrollViewer  VerticalScrollBarVisibility="Visible" Margin="10">
            <DataGrid Name="DG" HeadersVisibility="Column"/>
        </ScrollViewer>
    </DockPanel>
</UserControl>
