Routed event args for the DateSelectedChanged
Inheritance: System.Windows.RoutedEventArgs
コード例 #1
0
ファイル: DatePicker.cs プロジェクト: coelamon/FuelAccount
        private void OnDateChanged(DateTime newDate, DateTime oldDate)
        {
            DateSelectedChangedRoutedEventArgs args =
                new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);

            args.NewDate = newDate;
            args.OldDate = oldDate;
            RaiseEvent(args);;
        }
コード例 #2
0
        private void OnDateChanged(DateTime newDate, DateTime oldDate)
        {
            DateSelectedChangedRoutedEventArgs args =
                new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);

            args.NewDate = newDate;
            args.OldDate = oldDate;

            currentlyViewedMonth = newDate.Month;
            currentlyViewedYear  = newDate.Year;

            RaiseEvent(args);;
        }
コード例 #3
0
        private void OnDateChanged(DateTime newDate, DateTime oldDate)
        {
            DateSelectedChangedRoutedEventArgs args = 
                new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);
            args.NewDate = newDate;
            args.OldDate = oldDate;

            currentlyViewedMonth = newDate.Month;
            currentlyViewedYear = newDate.Year;
            
            RaiseEvent(args); ;
        }
コード例 #4
0
 private void OnDateChanged(DateTime newDate, DateTime oldDate)
 {
     DateSelectedChangedRoutedEventArgs args =
         new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);
     args.NewDate = newDate;
     args.OldDate = oldDate;
     RaiseEvent(args); ;
 }