1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
969CalendarDayButton dayCell = new CalendarDayButton();
51 references to CalendarDayButton
PresentationFramework (51)
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
36return (Owner is CalendarDayButton);
System\Windows\Controls\Calendar.cs (3)
855internal CalendarDayButton FindDayButtonFromDay(DateTime day) 859foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1257CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null;
System\Windows\Controls\Primitives\CalendarDayButton.cs (7)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 50typeof(CalendarDayButton), 73typeof(CalendarDayButton), 96typeof(CalendarDayButton), 119typeof(CalendarDayButton), 142typeof(CalendarDayButton),
System\Windows\Controls\Primitives\CalendarItem.cs (40)
347internal IEnumerable<CalendarDayButton> GetCalendarDayButtons() 356CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton; 365internal CalendarDayButton GetFocusedCalendarDayButton() 367foreach (CalendarDayButton b in GetCalendarDayButtons()) 378internal CalendarDayButton GetCalendarDayButton(DateTime date) 380foreach (CalendarDayButton b in GetCalendarDayButtons()) 567CalendarDayButton b = sender as CalendarDayButton; 657CalendarDayButton b = sender as CalendarDayButton; 756CalendarDayButton b = sender as CalendarDayButton; 806CalendarDayButton b = sender as CalendarDayButton; 865CalendarDayButton b = GetCalendarDayButton(selectedDate); 969CalendarDayButton dayCell = new CalendarDayButton(); 974dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 976dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 977dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 978dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1055CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1076private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1096CalendarDayButton.IsBlackedOutPropertyKey, 1101CalendarDayButton.IsInactivePropertyKey, 1107childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1111childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1126childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1133childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1134childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1135childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1136childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1168CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1173CalendarDayButton.IsHighlightedPropertyKey, 1178childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1188CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1189childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);