29 references to Year
PresentationFramework (29)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
429
supportedViews[1] = (int)CalendarMode.
Year
;
581
else if (currentMode == CalendarMode.
Year
)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
334
case CalendarMode.
Year
:
src\Framework\System\Windows\Controls\Calendar.cs (21)
397
if (oldMode == CalendarMode.
Year
|| oldMode == CalendarMode.Decade)
408
case CalendarMode.
Year
:
934
case CalendarMode.
Year
:
944
newMode = CalendarMode.
Year
;
976
case CalendarMode.
Year
:
1012
case CalendarMode.
Year
:
1081
case CalendarMode.
Year
:
1146
|| mode == CalendarMode.
Year
1196
Debug.Assert(this.DisplayMode == CalendarMode.
Year
);
1344
case CalendarMode.
Year
:
1364
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1405
case CalendarMode.
Year
:
1425
case CalendarMode.
Year
:
1434
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1455
case CalendarMode.
Year
:
1483
case CalendarMode.
Year
:
1510
case CalendarMode.
Year
:
1537
case CalendarMode.
Year
:
1565
case CalendarMode.
Year
:
1668
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Year
);
1680
case CalendarMode.
Year
:
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (5)
221
case CalendarMode.
Year
:
403
if (mode == CalendarMode.
Year
)
460
case CalendarMode.
Year
:
926
this.Owner.SetCurrentValueInternal(Calendar.DisplayModeProperty, CalendarMode.
Year
);
930
Debug.Assert(this.Owner.DisplayMode == CalendarMode.
Year
);