29 references to Year
PresentationFramework (29)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
414
supportedViews[1] = (int)CalendarMode.
Year
;
564
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
:
927
case CalendarMode.
Year
:
937
newMode = CalendarMode.
Year
;
969
case CalendarMode.
Year
:
1005
case CalendarMode.
Year
:
1074
case CalendarMode.
Year
:
1139
|| mode == CalendarMode.
Year
1189
Debug.Assert(this.DisplayMode == CalendarMode.
Year
);
1337
case CalendarMode.
Year
:
1357
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1395
case CalendarMode.
Year
:
1415
case CalendarMode.
Year
:
1424
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1445
case CalendarMode.
Year
:
1473
case CalendarMode.
Year
:
1500
case CalendarMode.
Year
:
1527
case CalendarMode.
Year
:
1555
case CalendarMode.
Year
:
1658
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1670
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
);