10 references to SingleRange
PresentationFramework (10)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
473
return this.OwningCalendar.SelectionMode == CalendarSelectionMode.
SingleRange
|| this.OwningCalendar.SelectionMode == CalendarSelectionMode.MultipleRange;
src\Framework\System\Windows\Controls\Calendar.cs (3)
1187
|| mode == CalendarSelectionMode.
SingleRange
1591
if (this.SelectionMode == CalendarSelectionMode.
SingleRange
|| this.SelectionMode == CalendarSelectionMode.MultipleRange)
1652
if (this._isShiftPressed && (this.SelectionMode == CalendarSelectionMode.
SingleRange
|| this.SelectionMode == CalendarSelectionMode.MultipleRange))
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
605
case CalendarSelectionMode.
SingleRange
:
709
case CalendarSelectionMode.
SingleRange
:
848
case CalendarSelectionMode.
SingleRange
:
src\Framework\System\Windows\Controls\SelectedDatesCollection.cs (3)
115
if (this._owner.SelectionMode == CalendarSelectionMode.
SingleRange
&& this.Count > 0)
336
if (this._owner.SelectionMode == CalendarSelectionMode.
SingleRange
)
462
if (this._owner.SelectionMode == CalendarSelectionMode.
SingleRange
&& !_isAddingRange && this.Count > 0)