1 write to _maxSelectionCount
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
495
_maxSelectionCount
= value;
11 references to _maxSelectionCount
System.Windows.Forms (11)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (11)
477
get =>
_maxSelectionCount
;
482
if (value ==
_maxSelectionCount
)
657
if ((value - _selectionStart).Days >=
_maxSelectionCount
)
659
_selectionStart = value.AddDays(1 -
_maxSelectionCount
);
694
if ((_selectionEnd - value).Days >=
_maxSelectionCount
)
696
_selectionEnd = value.AddDays(
_maxSelectionCount
- 1);
1360
if (
_maxSelectionCount
!= DefaultMaxSelectionCount)
1362
PInvokeCore.SendMessage(this, PInvoke.MCM_SETMAXSELCOUNT, (WPARAM)
_maxSelectionCount
);
1851
if ((date2 - date1).Days >=
_maxSelectionCount
)
1856
date1 = date2.AddDays(1 -
_maxSelectionCount
);
1861
date2 = date1.AddDays(
_maxSelectionCount
- 1);