44 references to Month
PresentationFramework (44)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (12)
43if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 138if (OwningCalendar.DisplayMode == CalendarMode.Month && childRow == 0) 296DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.AddedItems[0], CalendarMode.Month); 308DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 321DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 353if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 370if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 414supportedViews[0] = (int)CalendarMode.Month; 475AutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 510currentMode = CalendarMode.Month; 563if (currentMode == CalendarMode.Month) 616if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
74return ButtonMode == CalendarMode.Month; 316case CalendarMode.Month:
System\Windows\Controls\Calendar.cs (22)
372new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged), 390case CalendarMode.Month: 405if (oldMode == CalendarMode.Month) 919CalendarMode newMode = CalendarMode.Month; 923case CalendarMode.Month: 932newMode = CalendarMode.Month; 954FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 965case CalendarMode.Month: 998case CalendarMode.Month: 1070case CalendarMode.Month: 1140return mode == CalendarMode.Month 1249if (this.DisplayMode == CalendarMode.Month) 1328case CalendarMode.Month: 1343this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Month); 1377case CalendarMode.Month: 1419this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Month); 1439case CalendarMode.Month: 1468case CalendarMode.Month: 1495case CalendarMode.Month: 1522case CalendarMode.Month: 1550case CalendarMode.Month: 1656case CalendarMode.Month:
System\Windows\Controls\DatePicker.cs (2)
918this._calendar.DisplayMode = CalendarMode.Month; 953if (args.Key == Key.Escape || ((args.Key == Key.Enter || args.Key == Key.Space) && c.DisplayMode == CalendarMode.Month))
System\Windows\Controls\Primitives\CalendarItem.cs (6)
103return (this.Owner != null) ? this.Owner.DisplayMode : CalendarMode.Month; 221case CalendarMode.Month: 268this.Owner.DisplayMode == CalendarMode.Month && 391Debug.Assert(mode != CalendarMode.Month); 448case CalendarMode.Month: 917if (this.Owner.DisplayMode == CalendarMode.Month)