1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
954CalendarDayButton dayCell = new CalendarDayButton
51 references to CalendarDayButton
PresentationFramework (51)
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
31return (Owner is CalendarDayButton);
System\Windows\Controls\Calendar.cs (3)
850internal CalendarDayButton FindDayButtonFromDay(DateTime day) 854foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1244CalendarDayButton currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);
System\Windows\Controls\Primitives\CalendarDayButton.cs (7)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 46typeof(CalendarDayButton), 69typeof(CalendarDayButton), 92typeof(CalendarDayButton), 115typeof(CalendarDayButton), 138typeof(CalendarDayButton),
System\Windows\Controls\Primitives\CalendarItem.cs (40)
341internal IEnumerable<CalendarDayButton> GetCalendarDayButtons() 350CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton; 359internal CalendarDayButton GetFocusedCalendarDayButton() 361foreach (CalendarDayButton b in GetCalendarDayButtons()) 372internal CalendarDayButton GetCalendarDayButton(DateTime date) 374foreach (CalendarDayButton b in GetCalendarDayButtons()) 561CalendarDayButton b = sender as CalendarDayButton; 651CalendarDayButton b = sender as CalendarDayButton; 750CalendarDayButton b = sender as CalendarDayButton; 800CalendarDayButton b = sender as CalendarDayButton; 859CalendarDayButton b = GetCalendarDayButton(selectedDate); 954CalendarDayButton dayCell = new CalendarDayButton 960dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 962dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 963dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 964dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1042CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1063private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1083CalendarDayButton.IsBlackedOutPropertyKey, 1088CalendarDayButton.IsInactivePropertyKey, 1094childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1098childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1113childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1120childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1121childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1122childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1123childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1155CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1159CalendarDayButton.IsHighlightedPropertyKey, 1164childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1174CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1175childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);