title: Set selected date for TimePicker(Extended Toolkit - WPF) control
body: <p>In my WPF application, I want to set selected date for TimePicker control. In my application, I'm using calendar in one of my View window. When I select a date from calendar and change TimePicker value(i.e Time) and save then my entry saved to Today's date only. I want to save my entry to selected date. so, How to set select date for TimePicker control in this situation? </p>
  
  <p>XAML:</p>
  
  <pre><code>&lt;StackPanel Orientation="Horizontal" Width="596"&gt;
     &lt;TextBox Name="CltText" Text="{Binding ClientNameBinding,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Background="Yellow" Padding="0" Margin="0" BorderThickness="0" TextWrapping="Wrap" Width="145"/&gt;
     &lt;TextBox Name="AppText" Text="{Binding ApplicationNameBinding}" Background="Yellow" Padding="0" Margin="0" BorderThickness="0" TextWrapping="Wrap" Width="90"/&gt;
     &lt;xctk:TimePicker Name="StartPicker" Value="{Binding StartValue, ElementName=MainWin, Mode=TwoWay}" Format="Custom" FormatString="hh:mm tt" Background="Yellow" Padding="0" Margin="0" BorderThickness="0" Width="100" EndTime="11:59:0"/&gt;
     &lt;xctk:TimePicker Name="EndPicker" Value="{Binding EndValue, ElementName=MainWin, Mode=TwoWay}" Format="Custom" FormatString="hh:mm tt" Background="Yellow" Padding="0" Margin="0" BorderThickness="0" Width="60" EndTime="11:59:0"/&gt;
     &lt;TextBox Name="TaskText" Text="{Binding TaskNameBinding}" Background="Yellow" Padding="0" Margin="0" BorderThickness="0" TextWrapping="Wrap" Width="71"/&gt;
     &lt;ComboBox x:Name="ProjectComboBox" ItemsSource="{Binding Path=projectList, ElementName=MainWin}" SelectedValuePath="_id" DisplayMemberPath="_name"  SelectedItem="{Binding ProjectNameBindingClass, Mode=OneWayToSource}" Width="130" Background="Yellow" BorderThickness="0"/&gt;
  &lt;/StackPanel&gt;
  </code></pre>