2 overrides of DateRange
System.Windows.Forms (2)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarDayOfWeekCellAccessibleObject.cs (1)
33
internal override SelectionRange?
DateRange
=> null;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
38
internal override SelectionRange?
DateRange
=> null;
20 references to DateRange
System.Windows.Forms (20)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (14)
73
||
DateRange
is null)
78
DateTime cellDate =
DateRange
.Start;
162
if (
DateRange
is null)
169
MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_MONTH => $"{
DateRange
.Start:D}",
170
MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_YEAR => $"{
DateRange
.Start:Y}",
171
MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_DECADE => $"{
DateRange
.Start:yyy}",
172
MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_CENTURY => $"{
DateRange
.Start:yyy} - {
DateRange
.End:yyy}",
190
if (
DateRange
is not null)
192
_monthCalendarAccessibleObject.SetSelectionRange(
DateRange
.Start,
DateRange
.End);
211
if (
DateRange
is not null && _monthCalendarAccessibleObject.CalendarView == MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_MONTH
212
&&
DateRange
.Start >= _monthCalendarAccessibleObject.SelectionRange.Start
213
&&
DateRange
.End <= _monthCalendarAccessibleObject.SelectionRange.End)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (4)
129
if (cell is null || cell.
DateRange
is null)
134
string weekNumber = GetWeekNumber(cell.
DateRange
.Start);
217
|| CellsAccessibleObjects.First.Value.
DateRange
is null)
224
_rowIndex, -1, GetWeekNumber(CellsAccessibleObjects.First.Value.
DateRange
.Start));
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (2)
358
SelectionRange? cellRange = cell.
DateRange
;
602
range = FocusedCell?.
DateRange
;