private void SelectDate(DateTime date) { SelectedDate = date; ChangeMonth(date); calendarView.SelectedDate = date; SelectedDateChanged.Dispatch(this, new EventArgs()); }
private void DATE_PICKER_OnSelectedDateChanged(object sender, SelectionChangedEventArgs e) { _currentDate = DATE_PICKER.SelectedDate.GetValueOrDefault(); SelectedDateChanged?.Invoke(_currentDate, e); Refresh(); }
public void SendDateChange() { SelectedDateChanged?.Invoke(this, new EventArgs()); }
void Handle_DateSelected(object sender, DateChangedEventArgs e) { SelectedDate = new DateTime?(Date); SelectedDateChanged?.Invoke(this, null); }