3 writes to DisplayMode
PresentationFramework (3)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
445this.OwningCalendar.DisplayMode = (CalendarMode)viewId;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
891OwningCalendar.DisplayMode = ButtonMode;
System\Windows\Controls\DatePicker.cs (1)
918this._calendar.DisplayMode = CalendarMode.Month;
38 references to DisplayMode
PresentationFramework (38)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (12)
43if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 138if (OwningCalendar.DisplayMode == CalendarMode.Month && childRow == 0) 152peer = GetOrCreateDateTimeAutomationPeer(date, OwningCalendar.DisplayMode, /*addParentInfo*/ false); 155DateTimeCalendarModePair key = new DateTimeCalendarModePair(date, OwningCalendar.DisplayMode); 193DateTimeAutomationPeer focusedItem = GetOrCreateDateTimeAutomationPeer(focusedDate, owner.DisplayMode, /*addParentInfo*/ false); 353if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 370if (this.OwningCalendar.DisplayMode == CalendarMode.Month) 387AutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, OwningCalendar.DisplayMode); 405return (int)this.OwningCalendar.DisplayMode; 527currentMode = (startAfterDatePeer != null) ? startAfterDatePeer.ButtonMode : OwningCalendar.DisplayMode; 537currentMode = (startAfterDatePeer != null) ? startAfterDatePeer.ButtonMode : OwningCalendar.DisplayMode; 615if (this.OwningCalendar.DisplayMode == CalendarMode.Month)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
100if (OwningCalendar.DisplayMode != ButtonMode) 889if (OwningCalendar.DisplayMode != ButtonMode)
System\Windows\Controls\Calendar.cs (18)
919switch (this.DisplayMode) 952FocusDate(this.DisplayMode == CalendarMode.Month ? this.CurrentDate : this.DisplayDate); 994switch (this.DisplayMode) 1025DateTime? nextDate = GetDateOffset(this.DisplayDate, 1, this.DisplayMode); 1034DateTime? nextDate = GetDateOffset(this.DisplayDate, -1, this.DisplayMode); 1066switch (this.DisplayMode) 1189Debug.Assert(this.DisplayMode == CalendarMode.Year); 1202Debug.Assert(this.DisplayMode == CalendarMode.Decade); 1247if (this.DisplayMode == CalendarMode.Month) 1324switch (this.DisplayMode) 1373switch (this.DisplayMode) 1413switch (this.DisplayMode) 1435switch (this.DisplayMode) 1464switch (this.DisplayMode) 1491switch (this.DisplayMode) 1518switch (this.DisplayMode) 1546switch (this.DisplayMode) 1652switch (this.DisplayMode)
System\Windows\Controls\DatePicker.cs (1)
953if (args.Key == Key.Escape || ((args.Key == Key.Enter || args.Key == Key.Space) && c.DisplayMode == CalendarMode.Month))
System\Windows\Controls\Primitives\CalendarItem.cs (5)
103return (this.Owner != null) ? this.Owner.DisplayMode : CalendarMode.Month; 213switch (this.Owner.DisplayMode) 268this.Owner.DisplayMode == CalendarMode.Month && 917if (this.Owner.DisplayMode == CalendarMode.Month) 923Debug.Assert(this.Owner.DisplayMode == CalendarMode.Year);