1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
955CalendarDayButton dayCell = new CalendarDayButton
51 references to CalendarDayButton
PresentationFramework (51)
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
32return (Owner is CalendarDayButton);
System\Windows\Controls\Calendar.cs (3)
851internal CalendarDayButton FindDayButtonFromDay(DateTime day) 855foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1245CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);
System\Windows\Controls\Primitives\CalendarDayButton.cs (7)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 47typeof(CalendarDayButton), 70typeof(CalendarDayButton), 93typeof(CalendarDayButton), 116typeof(CalendarDayButton), 139typeof(CalendarDayButton),
System\Windows\Controls\Primitives\CalendarItem.cs (40)
342internal IEnumerable<CalendarDayButton> GetCalendarDayButtons() 351CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton; 360internal CalendarDayButton GetFocusedCalendarDayButton() 362foreach (CalendarDayButton b in GetCalendarDayButtons()) 373internal CalendarDayButton GetCalendarDayButton(DateTime date) 375foreach (CalendarDayButton b in GetCalendarDayButtons()) 562CalendarDayButton b = sender as CalendarDayButton; 652CalendarDayButton b = sender as CalendarDayButton; 751CalendarDayButton b = sender as CalendarDayButton; 801CalendarDayButton b = sender as CalendarDayButton; 860CalendarDayButton b = GetCalendarDayButton(selectedDate); 955CalendarDayButton dayCell = new CalendarDayButton 961dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 963dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 964dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 965dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1043CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1064private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1084CalendarDayButton.IsBlackedOutPropertyKey, 1089CalendarDayButton.IsInactivePropertyKey, 1095childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1099childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1114childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1121childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1122childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1123childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1124childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1156CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1160CalendarDayButton.IsHighlightedPropertyKey, 1165childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1175CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1176childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);