1 write to maxSelectionCount
System.Windows.Forms (1)
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
618maxSelectionCount = value;
11 references to maxSelectionCount
System.Windows.Forms (11)
winforms\Managed\System\WinForms\MonthCalendar.cs (11)
606return maxSelectionCount; 613if (value != maxSelectionCount) { 827if ((value - selectionStart).Days >= maxSelectionCount) { 828selectionStart = value.AddDays(1 - maxSelectionCount); 871if ((selectionEnd - value).Days >= maxSelectionCount) { 872selectionEnd = value.AddDays(maxSelectionCount - 1); 1630if (maxSelectionCount != DEFAULT_MAX_SELECTION_COUNT) { 1631SendMessage(NativeMethods.MCM_SETMAXSELCOUNT, maxSelectionCount, 0); 2113if ((date2 - date1).Days >= maxSelectionCount) { 2118date1 = date2.AddDays(1 - maxSelectionCount); 2123date2 = date1.AddDays(maxSelectionCount - 1);