29 references to Year
PresentationFramework (29)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
414supportedViews[1] = (int)CalendarMode.Year; 564else if (currentMode == CalendarMode.Year)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
319case CalendarMode.Year:
System\Windows\Controls\Calendar.cs (21)
392if (oldMode == CalendarMode.Year || oldMode == CalendarMode.Decade) 403case CalendarMode.Year: 927case CalendarMode.Year: 937newMode = CalendarMode.Year; 969case CalendarMode.Year: 1005case CalendarMode.Year: 1074case CalendarMode.Year: 1139|| mode == CalendarMode.Year 1189Debug.Assert(this.DisplayMode == CalendarMode.Year); 1337case CalendarMode.Year: 1357this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Year); 1395case CalendarMode.Year: 1415case CalendarMode.Year: 1424this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Year); 1445case CalendarMode.Year: 1473case CalendarMode.Year: 1500case CalendarMode.Year: 1527case CalendarMode.Year: 1555case CalendarMode.Year: 1658this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Year); 1670case CalendarMode.Year:
System\Windows\Controls\Primitives\CalendarItem.cs (5)
215case CalendarMode.Year: 397if (mode == CalendarMode.Year) 454case CalendarMode.Year: 919this.Owner.SetCurrentValueInternal(Calendar.DisplayModeProperty, CalendarMode.Year); 923Debug.Assert(this.Owner.DisplayMode == CalendarMode.Year);