private static void OnDaysChanged(DependencyObject d, DependencyPropertyChangedEventArgs eventArgs) { DateMonth m = d as DateMonth; var currentCollection = eventArgs.NewValue as IEnumerable <int>; m?.Reload(currentCollection); }
private static void OnYearMonthChange(DependencyObject d, DependencyPropertyChangedEventArgs e) { DateMonth control = d as DateMonth; if (control != null) { control.HandleChangedMonthYear(e.NewValue); } }