1 instantiation of CalendarDayButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
940
CalendarDayButton dayCell = new
CalendarDayButton
51 references to CalendarDayButton
PresentationFramework (51)
System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
31
return (Owner is
CalendarDayButton
);
System\Windows\Controls\Calendar.cs (3)
844
internal
CalendarDayButton
FindDayButtonFromDay(DateTime day)
848
foreach (
CalendarDayButton
b in this.MonthControl.GetCalendarDayButtons())
1238
CalendarDayButton
currentDayButton = MonthControl?.GetCalendarDayButton(this.CurrentDate);
System\Windows\Controls\Primitives\CalendarDayButton.cs (7)
28
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarDayButton
), new FrameworkPropertyMetadata(typeof(
CalendarDayButton
)));
46
typeof(
CalendarDayButton
),
69
typeof(
CalendarDayButton
),
92
typeof(
CalendarDayButton
),
115
typeof(
CalendarDayButton
),
138
typeof(
CalendarDayButton
),
System\Windows\Controls\Primitives\CalendarItem.cs (40)
327
internal IEnumerable<
CalendarDayButton
> GetCalendarDayButtons()
336
CalendarDayButton
b = dayButtonsHost[childIndex] as
CalendarDayButton
;
345
internal
CalendarDayButton
GetFocusedCalendarDayButton()
347
foreach (
CalendarDayButton
b in GetCalendarDayButtons())
358
internal
CalendarDayButton
GetCalendarDayButton(DateTime date)
360
foreach (
CalendarDayButton
b in GetCalendarDayButtons())
547
CalendarDayButton
b = sender as
CalendarDayButton
;
637
CalendarDayButton
b = sender as
CalendarDayButton
;
736
CalendarDayButton
b = sender as
CalendarDayButton
;
786
CalendarDayButton
b = sender as
CalendarDayButton
;
845
CalendarDayButton
b = GetCalendarDayButton(selectedDate);
940
CalendarDayButton
dayCell = new CalendarDayButton
946
dayCell.SetBinding(
CalendarDayButton
.StyleProperty, GetOwnerBinding("CalendarDayButtonStyle"));
948
dayCell.AddHandler(
CalendarDayButton
.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonDown), true);
949
dayCell.AddHandler(
CalendarDayButton
.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Cell_MouseLeftButtonUp), true);
950
dayCell.AddHandler(
CalendarDayButton
.MouseEnterEvent, new MouseEventHandler(Cell_MouseEnter), true);
1028
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1049
private void SetMonthModeDayButtonState(
CalendarDayButton
childButton, DateTime? dateToAdd)
1069
CalendarDayButton
.IsBlackedOutPropertyKey,
1074
CalendarDayButton
.IsInactivePropertyKey,
1080
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, true);
1084
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, false);
1099
childButton.SetValue(
CalendarDayButton
.IsSelectedPropertyKey, isSelected);
1106
childButton.SetValue(
CalendarDayButton
.IsBlackedOutPropertyKey, false);
1107
childButton.SetValue(
CalendarDayButton
.IsInactivePropertyKey, true);
1108
childButton.SetValue(
CalendarDayButton
.IsTodayPropertyKey, false);
1109
childButton.SetValue(
CalendarDayButton
.IsSelectedPropertyKey, false);
1141
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1145
CalendarDayButton
.IsHighlightedPropertyKey,
1150
childButton.SetValue(
CalendarDayButton
.IsHighlightedPropertyKey, false);
1160
CalendarDayButton
childButton = _monthView.Children[childIndex] as
CalendarDayButton
;
1161
childButton.SetValue(
CalendarDayButton
.IsHighlightedPropertyKey, false);