1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
964CalendarDayButton 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()) 1253CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null;
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); 964CalendarDayButton dayCell = new CalendarDayButton(); 969dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 971dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 972dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 973dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1050CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1071private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1091CalendarDayButton.IsBlackedOutPropertyKey, 1096CalendarDayButton.IsInactivePropertyKey, 1102childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1106childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1121childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1128childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1129childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1130childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1131childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1163CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1168CalendarDayButton.IsHighlightedPropertyKey, 1173childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1183CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1184childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);