1 instantiation of CalendarButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
995
monthCell = new
CalendarButton
();
33 references to CalendarButton
PresentationFramework (33)
System\Windows\Controls\Calendar.cs (1)
916
internal void OnCalendarButtonPressed(
CalendarButton
b, bool switchDisplayMode)
System\Windows\Controls\Primitives\CalendarButton.cs (4)
23
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarButton
), new FrameworkPropertyMetadata(typeof(
CalendarButton
)));
41
typeof(
CalendarButton
),
65
typeof(
CalendarButton
),
System\Windows\Controls\Primitives\CalendarItem.cs (28)
394
internal
CalendarButton
GetCalendarButton(DateTime date, CalendarMode mode)
398
foreach (
CalendarButton
b in GetCalendarButtons())
422
internal
CalendarButton
GetFocusedCalendarButton()
424
foreach (
CalendarButton
b in GetCalendarButtons())
435
private IEnumerable<
CalendarButton
> GetCalendarButtons()
439
CalendarButton
b = element as
CalendarButton
;
497
CalendarButton
child = yearViewChildren[0] as
CalendarButton
;
508
CalendarButton
child = yearViewChildren[count - 1] as
CalendarButton
;
875
CalendarButton
b = sender as
CalendarButton
;
890
CalendarButton
b = sender as
CalendarButton
;
899
CalendarButton
b = sender as
CalendarButton
;
911
CalendarButton
b = sender as
CalendarButton
;
989
CalendarButton
monthCell;
1000
monthCell.SetBinding(
CalendarButton
.StyleProperty, GetOwnerBinding("CalendarButtonStyle"));
1002
monthCell.AddHandler(
CalendarButton
.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true);
1003
monthCell.AddHandler(
CalendarButton
.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true);
1004
monthCell.AddHandler(
CalendarButton
.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true);
1247
CalendarButton
childButton = child as
CalendarButton
;
1294
CalendarButton
childButton = child as
CalendarButton
;