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