<UserControl x:Class="Txgy.EWS.Client.PageModule.Views.EventQueryView"
             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:Txgy.EWS.Client.PageModule.Views"
             xmlns:hc="https://handyorg.github.io/handycontrol"
             d:DesignHeight="450"
             d:DesignWidth="800"
             mc:Ignorable="d">
    <Grid>
        <StackPanel Grid.ColumnSpan="4"
                    Margin="10,0,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"
                    Orientation="Horizontal">
            <TextBlock HorizontalAlignment="Center"
                       VerticalAlignment="Center"
                       Text="起始时间:" />
            <hc:DateTimePicker x:Name="dpStartTime"
                               Width="164"
                               Height="40"
                               Margin="10,0,0,0"
                               FontSize="12"
                               Foreground="#FF673Ab7"
                               SelectedDateTime="{Binding StartTime, Mode=TwoWay}" />

            <TextBlock Grid.Column="2"
                       Margin="20,0,0,0"
                       HorizontalAlignment="Center"
                       VerticalAlignment="Center"
                       Text="结束时间:" />
            <hc:DateTimePicker x:Name="dpEndTime"
                               Grid.Column="3"
                               Width="164"
                               Height="40"
                               Margin="10,0,0,0"
                               FontSize="12"
                               Foreground="#FF673Ab7"
                               SelectedDateTime="{Binding EndTime, Mode=TwoWay}" />
        </StackPanel>
    </Grid>
</UserControl>
