1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
940CalendarDayButton 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)
844internal CalendarDayButton FindDayButtonFromDay(DateTime day) 848foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1238CalendarDayButton 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)
327internal IEnumerable<CalendarDayButton> GetCalendarDayButtons() 336CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton; 345internal CalendarDayButton GetFocusedCalendarDayButton() 347foreach (CalendarDayButton b in GetCalendarDayButtons()) 358internal CalendarDayButton GetCalendarDayButton(DateTime date) 360foreach (CalendarDayButton b in GetCalendarDayButtons()) 547CalendarDayButton b = sender as CalendarDayButton; 637CalendarDayButton b = sender as CalendarDayButton; 736CalendarDayButton b = sender as CalendarDayButton; 786CalendarDayButton b = sender as CalendarDayButton; 845CalendarDayButton b = GetCalendarDayButton(selectedDate); 940CalendarDayButton dayCell = new CalendarDayButton 946dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 948dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 949dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 950dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1028CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1049private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1069CalendarDayButton.IsBlackedOutPropertyKey, 1074CalendarDayButton.IsInactivePropertyKey, 1080childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1084childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1099childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1106childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1107childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1108childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1109childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1141CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1145CalendarDayButton.IsHighlightedPropertyKey, 1150childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1160CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1161childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);