44 references to Month
PresentationFramework (44)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (12)
50if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 145if (OwningCalendar.DisplayMode == CalendarMode.Month && childRow == 0) 310DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.AddedItems[0], CalendarMode.Month); 322DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 335DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 367if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 384if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 428supportedViews[0] = (int)CalendarMode.Month; 491AutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.Month); 526currentMode = CalendarMode.Month; 579if (currentMode == CalendarMode.Month) 632if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
89return ButtonMode == CalendarMode.Month; 331case CalendarMode.Month:
src\Framework\System\Windows\Controls\Calendar.cs (22)
377new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged), 395case CalendarMode.Month: 410if (oldMode == CalendarMode.Month) 924CalendarMode newMode = CalendarMode.Month; 928case CalendarMode.Month: 937newMode = CalendarMode.Month; 959FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 970case CalendarMode.Month: 1003case CalendarMode.Month: 1075case CalendarMode.Month: 1145return mode == CalendarMode.Month 1254if (this.DisplayMode == CalendarMode.Month) 1333case CalendarMode.Month: 1348this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Month); 1382case CalendarMode.Month: 1427this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.Month); 1447case CalendarMode.Month: 1476case CalendarMode.Month: 1503case CalendarMode.Month: 1530case CalendarMode.Month: 1558case CalendarMode.Month: 1664case CalendarMode.Month:
src\Framework\System\Windows\Controls\DatePicker.cs (2)
911this._calendar.DisplayMode = CalendarMode.Month; 946if (args.Key == Key.Escape || ((args.Key == Key.Enter || args.Key == Key.Space) && c.DisplayMode == CalendarMode.Month))
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (6)
109return (this.Owner != null) ? this.Owner.DisplayMode : CalendarMode.Month; 227case CalendarMode.Month: 274this.Owner.DisplayMode == CalendarMode.Month && 397Debug.Assert(mode != CalendarMode.Month); 454case CalendarMode.Month: 924if (this.Owner.DisplayMode == CalendarMode.Month)