<UserControl 
    x:Class="ControlExplorer.Controls.DateTimePicker.DateTimePickerDemo"
    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:c1="using:C1.Xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">

    <StackPanel Margin="20 40">
        <c1:C1DateTimePicker EditMode="Date">
            <c1:C1DateTimePicker.Header>
                <TextBlock Text="Edit date" Style="{StaticResource PageSimpleTextBlock}"/>	     	
            </c1:C1DateTimePicker.Header>
        </c1:C1DateTimePicker>
        <c1:C1DateTimePicker EditMode="Time">
            <c1:C1DateTimePicker.Header>
                <TextBlock Text="Edit time" Style="{StaticResource PageSimpleTextBlock}"/>	     	
            </c1:C1DateTimePicker.Header>
        </c1:C1DateTimePicker>
        <c1:C1DateTimePicker AllowNull="True" SelectedDate="{x:Null}">
            <c1:C1DateTimePicker.Header>
                <TextBlock Text="Edit date and time" Style="{StaticResource PageSimpleTextBlock}"/>	     	
            </c1:C1DateTimePicker.Header>
        </c1:C1DateTimePicker>
    </StackPanel>

</UserControl>
