1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
955
CalendarDayButton dayCell = new
CalendarDayButton
51 references to CalendarDayButton
PresentationFramework (51)
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
32
return (Owner is
CalendarDayButton
);
System\Windows\Controls\Calendar.cs (3)
851
internal
CalendarDayButton
FindDayButtonFromDay(DateTime day)
855
foreach (
CalendarDayButton
b in this.MonthControl.GetCalendarDayButtons())
1245
CalendarDayButton
currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);
System\Windows\Controls\Primitives\CalendarDayButton.cs (7)
29
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarDayButton
), new FrameworkPropertyMetadata(typeof(
CalendarDayButton
)));
47
typeof(
CalendarDayButton
),
70
typeof(
CalendarDayButton
),
93
typeof(
CalendarDayButton
),
116
typeof(
CalendarDayButton
),
139
typeof(
CalendarDayButton
),
System\Windows\Controls\Primitives\CalendarItem.cs (40)
342
internal IEnumerable<
CalendarDayButton
> GetCalendarDayButtons()
351
CalendarDayButton
b = dayButtonsHost[childIndex] as
CalendarDayButton
;
360
internal
CalendarDayButton
GetFocusedCalendarDayButton()
362
foreach (
CalendarDayButton
b in GetCalendarDayButtons())
373
internal
CalendarDayButton
GetCalendarDayButton(DateTime date)
375
foreach (
CalendarDayButton
b in GetCalendarDayButtons())
562
CalendarDayButton
b = sender as
CalendarDayButton
;
652
CalendarDayButton
b = sender as
CalendarDayButton
;
751
CalendarDayButton
b = sender as
CalendarDayButton
;
801
CalendarDayButton
b = sender as
CalendarDayButton
;
860
CalendarDayButton
b = GetCalendarDayButton(selectedDate);
955
CalendarDayButton
dayCell = new CalendarDayButton
961
dayCell.SetBinding(
CalendarDayButton
.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle"));
963
dayCell.AddHandler(
CalendarDayButton
.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true);
964
dayCell.AddHandler(
CalendarDayButton
.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true);
965
dayCell.AddHandler(
CalendarDayButton
.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true);
1043
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1064
private void SetMonthModeDayButtonState(
CalendarDayButton
childButton, DateTime? dateToAdd)
1084
CalendarDayButton
.IsBlackedOutPropertyKey,
1089
CalendarDayButton
.IsInactivePropertyKey,
1095
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, true);
1099
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, false);
1114
childButton.SetValue(
CalendarDayButton
.IsSelectedPropertyKey, isSelected);
1121
childButton.SetValue(
CalendarDayButton
.IsBlackedOutPropertyKey, false);
1122
childButton.SetValue(
CalendarDayButton
.IsInactivePropertyKey, true);
1123
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, false);
1124
childButton.SetValue(
CalendarDayButton
.IsSelectedPropertyKey, false);
1156
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1160
CalendarDayButton
.IsHighlightedPropertyKey,
1165
childButton.SetValue(
CalendarDayButton
.IsHighlightedPropertyKey, false);
1175
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1176
childButton.SetValue(
CalendarDayButton
.IsHighlightedPropertyKey, false);