Routed event args for the DateSelectedChanged
Inheritance: System.Windows.RoutedEventArgs
Exemplo n.º 1
0
        private void OnDateChanged(DateTime newDate, DateTime oldDate)
        {
            DateSelectedChangedRoutedEventArgs args =
                new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);

            args.NewDate = newDate;
            args.OldDate = oldDate;
            RaiseEvent(args);;
        }
Exemplo n.º 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);;
        }
Exemplo n.º 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); ;
        }
Exemplo n.º 4
0
 private void OnDateChanged(DateTime newDate, DateTime oldDate)
 {
     DateSelectedChangedRoutedEventArgs args =
         new DateSelectedChangedRoutedEventArgs(SelectedDateChangedEvent);
     args.NewDate = newDate;
     args.OldDate = oldDate;
     RaiseEvent(args); ;
 }