Exemplo n.º 1
0
 private void CalendarUwp_SelectedDatesChanged(object sender, SelectedDatesChangedEventArgs e)
 {
     if (e.SelectedDates.Count > 0)
     {
         SelectedDate = e.SelectedDates.FirstOrDefault().DateTime;
         txtDate.Text = SelectedDate.ToShortDateString();
     }
 }
 protected virtual void OnSelectedDatesChanged(SelectedDatesChangedEventArgs e)
 {
     SelectedDatesChanged?.Invoke(this, e);
 }