1 write to _calendar
PresentationFramework (1)
System\Windows\Controls\DatePicker.cs (1)
1074_calendar = new Calendar();
32 references to _calendar
PresentationFramework (32)
System\Windows\Controls\DatePicker.cs (32)
116get { return _calendar.BlackoutDates; } 170dp._calendar.DisplayDate = (DateTime)value; 171return dp._calendar.DisplayDate; 216dp._calendar.DisplayDateEnd = (DateTime?)value; 217return dp._calendar.DisplayDateEnd; 263dp._calendar.DisplayDateStart = (DateTime?)value; 264return dp._calendar.DisplayDateStart; 353dp._calendar.Focus(); 455if ((day.Month != dp.DisplayDate.Month || day.Year != dp.DisplayDate.Year) && !dp._calendar.DatePickerDisplayDateFlag) 460dp._calendar.DatePickerDisplayDateFlag = false; 494dp._calendar.SelectedDate = (DateTime?)value; 495return dp._calendar.SelectedDate; 632return _calendar; 686_popUp.Child = this._calendar; 916if (this._calendar != null) 918this._calendar.DisplayMode = CalendarMode.Month; 919this._calendar.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)); 932if (_calendar.IsKeyboardFocusWithin) 1075_calendar.DayButtonMouseUp += new MouseButtonEventHandler(Calendar_DayButtonMouseUp); 1076_calendar.DisplayDateChanged += new EventHandler<CalendarDateChangedEventArgs>(Calendar_DisplayDateChanged); 1077_calendar.SelectedDatesChanged += new EventHandler<SelectionChangedEventArgs>(Calendar_SelectedDatesChanged); 1078_calendar.DayOrMonthPreviewKeyDown += new RoutedEventHandler(CalendarDayOrMonthButton_PreviewKeyDown); 1079_calendar.HorizontalAlignment = HorizontalAlignment.Left; 1080_calendar.VerticalAlignment = VerticalAlignment.Top; 1082_calendar.SelectionMode = CalendarSelectionMode.SingleDate; 1083_calendar.SetBinding(Calendar.ForegroundProperty, GetDatePickerBinding(DatePicker.ForegroundProperty)); 1084_calendar.SetBinding(Calendar.StyleProperty, GetDatePickerBinding(DatePicker.CalendarStyleProperty)); 1085_calendar.SetBinding(Calendar.IsTodayHighlightedProperty, GetDatePickerBinding(DatePicker.IsTodayHighlightedProperty)); 1086_calendar.SetBinding(Calendar.FirstDayOfWeekProperty, GetDatePickerBinding(DatePicker.FirstDayOfWeekProperty)); 1087_calendar.SetBinding(Calendar.FlowDirectionProperty, GetDatePickerBinding(DatePicker.FlowDirectionProperty)); 1089RenderOptions.SetClearTypeHint(_calendar, ClearTypeHint.Enabled); 1122if (Calendar.IsValidDateSelection(this._calendar, newSelectedDate))