1 write to SelectionMode
PresentationFramework (1)
System\Windows\Controls\DatePicker.cs (1)
1086_calendar.SelectionMode = CalendarSelectionMode.SingleDate;
29 references to SelectionMode
PresentationFramework (29)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
463return this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleRange || this.OwningCalendar.SelectionMode == CalendarSelectionMode.MultipleRange;
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (3)
783if (this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 823if (EnsureSelection() && this.OwningCalendar.SelectionMode == CalendarSelectionMode.SingleDate) 927this.OwningCalendar.SelectionMode == CalendarSelectionMode.None)
System\Windows\Controls\Calendar.cs (10)
547if (c.SelectionMode != CalendarSelectionMode.None || e.NewValue == null) 569if (c.SelectionMode == CalendarSelectionMode.SingleDate) 694return this.SelectionMode == CalendarSelectionMode.None ? null : _hoverStart; 707return this.SelectionMode == CalendarSelectionMode.None ? null : _hoverEnd; 900if (this.SelectionMode == CalendarSelectionMode.None) 1579if (this.SelectionMode == CalendarSelectionMode.None && lastSelectedDate != null) 1587if (this.SelectionMode == CalendarSelectionMode.SingleRange || this.SelectionMode == CalendarSelectionMode.MultipleRange) 1648if (this._isShiftPressed && (this.SelectionMode == CalendarSelectionMode.SingleRange || this.SelectionMode == CalendarSelectionMode.MultipleRange))
System\Windows\Controls\Primitives\CalendarItem.cs (8)
531(Owner.SelectionMode == CalendarSelectionMode.SingleDate || Owner.SelectionMode == CalendarSelectionMode.MultipleRange)) 583switch (this.Owner.SelectionMode) 685switch (this.Owner.SelectionMode) 778switch (this.Owner.SelectionMode) 836if (this.Owner.SelectionMode == CalendarSelectionMode.None || this.Owner.SelectionMode == CalendarSelectionMode.SingleDate) 844switch (this.Owner.SelectionMode)
System\Windows\Controls\SelectedDatesCollection.cs (6)
114if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange && this.Count > 0) 335if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange) 386switch (this._owner.SelectionMode) 449if (this._owner.SelectionMode == CalendarSelectionMode.None) 454if (this._owner.SelectionMode == CalendarSelectionMode.SingleDate && this.Count > 0) 461if (this._owner.SelectionMode == CalendarSelectionMode.SingleRange && !_isAddingRange && this.Count > 0)