13 references to SingleDate
PresentationFramework (13)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (2)
759
if (this.OwningCalendar.SelectionMode == CalendarSelectionMode.
SingleDate
)
799
if (EnsureSelection() && this.OwningCalendar.SelectionMode == CalendarSelectionMode.
SingleDate
)
src\Framework\System\Windows\Controls\Calendar.cs (3)
570
if (c.SelectionMode == CalendarSelectionMode.
SingleDate
)
626
new FrameworkPropertyMetadata(CalendarSelectionMode.
SingleDate
, OnSelectionModeChanged),
1186
return mode == CalendarSelectionMode.
SingleDate
src\Framework\System\Windows\Controls\DatePicker.cs (1)
1075
_calendar.SelectionMode = CalendarSelectionMode.
SingleDate
;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (5)
532
(Owner.SelectionMode == CalendarSelectionMode.
SingleDate
|| Owner.SelectionMode == CalendarSelectionMode.MultipleRange))
591
case CalendarSelectionMode.
SingleDate
:
694
case CalendarSelectionMode.
SingleDate
:
782
case CalendarSelectionMode.
SingleDate
:
838
if (this.Owner.SelectionMode == CalendarSelectionMode.None || this.Owner.SelectionMode == CalendarSelectionMode.
SingleDate
)
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (2)
389
case CalendarSelectionMode.
SingleDate
:
455
if (this._owner.SelectionMode == CalendarSelectionMode.
SingleDate
&& this.Count > 0)