29 references to Year
PresentationFramework (29)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
415
supportedViews[1] = (int)CalendarMode.
Year
;
565
else if (currentMode == CalendarMode.
Year
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
319
case CalendarMode.
Year
:
System\Windows\Controls\Calendar.cs (21)
392
if (oldMode == CalendarMode.
Year
|| oldMode == CalendarMode.Decade)
403
case CalendarMode.
Year
:
929
case CalendarMode.
Year
:
939
newMode = CalendarMode.
Year
;
971
case CalendarMode.
Year
:
1007
case CalendarMode.
Year
:
1076
case CalendarMode.
Year
:
1141
|| mode == CalendarMode.
Year
1191
Debug.Assert(this.DisplayMode == CalendarMode.
Year
);
1339
case CalendarMode.
Year
:
1359
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1397
case CalendarMode.
Year
:
1417
case CalendarMode.
Year
:
1426
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1447
case CalendarMode.
Year
:
1475
case CalendarMode.
Year
:
1502
case CalendarMode.
Year
:
1529
case CalendarMode.
Year
:
1557
case CalendarMode.
Year
:
1660
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1672
case CalendarMode.
Year
:
System\Windows\Controls\Primitives\CalendarItem.cs (5)
215
case CalendarMode.
Year
:
397
if (mode == CalendarMode.
Year
)
454
case CalendarMode.
Year
:
919
this.Owner.SetCurrentValueInternal(Calendar.DisplayModeProperty, CalendarMode.
Year
);
923
Debug.Assert(this.Owner.DisplayMode == CalendarMode.
Year
);