44 references to Month
PresentationFramework (44)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (12)
49
if (this.OwningCalendar.DisplayMode == CalendarMode.
Month
)
144
if (OwningCalendar.DisplayMode == CalendarMode.
Month
&& childRow == 0)
302
DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer((DateTime)e.AddedItems[0], CalendarMode.
Month
);
314
DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.
Month
);
327
DateTimeAutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.
Month
);
359
if (this.OwningCalendar.DisplayMode == CalendarMode.
Month
)
376
if (this.OwningCalendar.DisplayMode == CalendarMode.
Month
)
420
supportedViews[0] = (int)CalendarMode.
Month
;
481
AutomationPeer peer = GetOrCreateDateTimeAutomationPeer(date, CalendarMode.
Month
);
516
currentMode = CalendarMode.
Month
;
569
if (currentMode == CalendarMode.
Month
)
622
if (this.OwningCalendar.DisplayMode == CalendarMode.
Month
)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
81
return ButtonMode == CalendarMode.
Month
;
323
case CalendarMode.
Month
:
System\Windows\Controls\Calendar.cs (22)
376
new FrameworkPropertyMetadata(CalendarMode.
Month
, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged),
394
case CalendarMode.
Month
:
409
if (oldMode == CalendarMode.
Month
)
923
CalendarMode newMode = CalendarMode.
Month
;
927
case CalendarMode.
Month
:
936
newMode = CalendarMode.
Month
;
958
FocusDate(this.DisplayMode == CalendarMode.
Month
? this.CurrentDate : this.DisplayDate);
969
case CalendarMode.
Month
:
1002
case CalendarMode.
Month
:
1074
case CalendarMode.
Month
:
1144
return mode == CalendarMode.
Month
1253
if (this.DisplayMode == CalendarMode.
Month
)
1332
case CalendarMode.
Month
:
1347
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Month
);
1381
case CalendarMode.
Month
:
1423
this.SetCurrentValueInternal(DisplayModeProperty, CalendarMode.
Month
);
1443
case CalendarMode.
Month
:
1472
case CalendarMode.
Month
:
1499
case CalendarMode.
Month
:
1526
case CalendarMode.
Month
:
1554
case CalendarMode.
Month
:
1660
case CalendarMode.
Month
:
System\Windows\Controls\DatePicker.cs (2)
922
this._calendar.DisplayMode = CalendarMode.
Month
;
957
if (args.Key == Key.Escape || ((args.Key == Key.Enter || args.Key == Key.Space) && c.DisplayMode == CalendarMode.
Month
))
System\Windows\Controls\Primitives\CalendarItem.cs (6)
108
return (this.Owner != null) ? this.Owner.DisplayMode : CalendarMode.
Month
;
226
case CalendarMode.
Month
:
273
this.Owner.DisplayMode == CalendarMode.
Month
&&
396
Debug.Assert(mode != CalendarMode.
Month
);
453
case CalendarMode.
Month
:
922
if (this.Owner.DisplayMode == CalendarMode.
Month
)