1 write to _maxSelectionCount
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
490_maxSelectionCount = value;
11 references to _maxSelectionCount
System.Windows.Forms (11)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (11)
472get => _maxSelectionCount; 477if (value == _maxSelectionCount) 652if ((value - _selectionStart).Days >= _maxSelectionCount) 654_selectionStart = value.AddDays(1 - _maxSelectionCount); 689if ((_selectionEnd - value).Days >= _maxSelectionCount) 691_selectionEnd = value.AddDays(_maxSelectionCount - 1); 1355if (_maxSelectionCount != DefaultMaxSelectionCount) 1357PInvokeCore.SendMessage(this, PInvoke.MCM_SETMAXSELCOUNT, (WPARAM)_maxSelectionCount); 1846if ((date2 - date1).Days >= _maxSelectionCount) 1851date1 = date2.AddDays(1 - _maxSelectionCount); 1856date2 = date1.AddDays(_maxSelectionCount - 1);