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