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