1 instantiation of CalendarDayButton
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
971CalendarDayButton dayCell = new CalendarDayButton();
51 references to CalendarDayButton
PresentationFramework (51)
src\Framework\System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
37return (Owner is CalendarDayButton);
src\Framework\System\Windows\Controls\Calendar.cs (3)
856internal CalendarDayButton FindDayButtonFromDay(DateTime day) 860foreach (CalendarDayButton b in this.MonthControl.GetCalendarDayButtons()) 1258CalendarDayButton currentDayButton = (MonthControl != null) ? MonthControl.GetCalendarDayButton(this.CurrentDate) : null;
src\Framework\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),
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (40)
348internal IEnumerable<CalendarDayButton> GetCalendarDayButtons() 357CalendarDayButton b = dayButtonsHost[childIndex] as CalendarDayButton; 366internal CalendarDayButton GetFocusedCalendarDayButton() 368foreach (CalendarDayButton b in GetCalendarDayButtons()) 379internal CalendarDayButton GetCalendarDayButton(DateTime date) 381foreach (CalendarDayButton b in GetCalendarDayButtons()) 568CalendarDayButton b = sender as CalendarDayButton; 658CalendarDayButton b = sender as CalendarDayButton; 758CalendarDayButton b = sender as CalendarDayButton; 808CalendarDayButton b = sender as CalendarDayButton; 867CalendarDayButton b = GetCalendarDayButton(selectedDate); 971CalendarDayButton dayCell = new CalendarDayButton(); 976dayCell.SetBinding(CalendarDayButton.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle")); 978dayCell.AddHandler(CalendarDayButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true); 979dayCell.AddHandler(CalendarDayButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true); 980dayCell.AddHandler(CalendarDayButton.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true); 1058CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1079private void SetMonthModeDayButtonState(CalendarDayButton childButton, DateTime? dateToAdd) 1099CalendarDayButton.IsBlackedOutPropertyKey, 1104CalendarDayButton.IsInactivePropertyKey, 1110childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, true); 1114childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1129childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, isSelected); 1136childButton.SetValue(CalendarDayButton.IsBlackedOutPropertyKey, false); 1137childButton.SetValue(CalendarDayButton.IsInactivePropertyKey, true); 1138childButton.SetValue(CalendarDayButton.IsTodayPropertyKey, false); 1139childButton.SetValue(CalendarDayButton.IsSelectedPropertyKey, false); 1171CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1176CalendarDayButton.IsHighlightedPropertyKey, 1181childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false); 1191CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1192childButton.SetValue(CalendarDayButton.IsHighlightedPropertyKey, false);