29 references to Year
PresentationFramework (29)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
421
supportedViews[1] = (int)CalendarMode.
Year
;
571
else if (currentMode == CalendarMode.
Year
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
326
case CalendarMode.
Year
:
System\Windows\Controls\Calendar.cs (21)
396
if (oldMode == CalendarMode.
Year
|| oldMode == CalendarMode.Decade)
407
case CalendarMode.
Year
:
933
case CalendarMode.
Year
:
943
newMode = CalendarMode.
Year
;
975
case CalendarMode.
Year
:
1011
case CalendarMode.
Year
:
1080
case CalendarMode.
Year
:
1145
|| mode == CalendarMode.
Year
1195
Debug.Assert(this.DisplayMode == CalendarMode.
Year
);
1343
case CalendarMode.
Year
:
1363
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1401
case CalendarMode.
Year
:
1421
case CalendarMode.
Year
:
1430
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1451
case CalendarMode.
Year
:
1479
case CalendarMode.
Year
:
1506
case CalendarMode.
Year
:
1533
case CalendarMode.
Year
:
1561
case CalendarMode.
Year
:
1664
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1676
case CalendarMode.
Year
:
System\Windows\Controls\Primitives\CalendarItem.cs (5)
220
case CalendarMode.
Year
:
402
if (mode == CalendarMode.
Year
)
459
case CalendarMode.
Year
:
924
this.Owner.SetCurrentValueInternal(Calendar.DisplayModeProperty, CalendarMode.
Year
);
928
Debug.Assert(this.Owner.DisplayMode == CalendarMode.
Year
);