<UserControl x:Class="MWS.Domain.Controls.TimePickerControl"
             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:MWS.Domain.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <StackPanel Orientation="Horizontal" Height="46">

            <DatePicker x:Name="dpDate" Height="45" Width="160" FontSize="20" Style="{StaticResource DefaultDatePickerStyle}" SelectedDateChanged="DpDate_SelectedDateChanged"  BorderBrush="#175DA1" Padding="10"></DatePicker>
            <TextBox Width="100" x:Name="tbHour" Height="45" BorderBrush="#175DA1" Foreground="Black" FontSize="20" BorderThickness="1" VerticalAlignment="Center" TextAlignment="Center" Margin="10,0,0,0"></TextBox>
            <StackPanel Orientation="Vertical">
                <Button Height="23" Width="26" x:Name="btnHourUp" BorderBrush="#175DA1" Click="BtnHourUp_Click" >
                    <Button.Background>
                        <ImageBrush ImageSource="../Assets/Images/arrow_up.png"></ImageBrush>
                    </Button.Background>
                </Button>
                <Button Height="23" Width="26" x:Name="btnHourDown" BorderBrush="#175DA1" Click="BtnHourDown_Click">
                    <Button.Background>
                        <ImageBrush ImageSource="../Assets/Images/arrow_down.png"></ImageBrush>
                    </Button.Background>
                </Button>
            </StackPanel>

            <TextBox Width="100" x:Name="tbMinute" Height="45" FontSize="20"  Foreground="Black" BorderBrush="#175DA1" BorderThickness="1"  TextAlignment="Center" Margin="10,0,0,0"></TextBox>
            <StackPanel Orientation="Vertical">
                <Button Height="23" Width="26"  x:Name="btnMinuteUp" BorderBrush="#175DA1" Click="BtnMinuteUp_Click" >
                    <Button.Background>
                        <ImageBrush ImageSource="../Assets/Images/arrow_up.png"></ImageBrush>
                    </Button.Background>
                </Button>
                <Button Height="23" Width="26"   x:Name="btnMinuteDown" BorderBrush="#175DA1" Click="BtnMinuteDown_Click">
                    <Button.Background>
                        <ImageBrush ImageSource="../Assets/Images/arrow_down.png"></ImageBrush>
                    </Button.Background>
                </Button>
            </StackPanel>
        </StackPanel>

    </Grid>
</UserControl>
