2 overrides of DateRange
System.Windows.Forms (2)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarDayOfWeekCellAccessibleObject.cs (1)
33internal override SelectionRange? DateRange => null;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
38internal 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) 78DateTime cellDate = DateRange.Start; 162if (DateRange is null) 169MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_MONTH => $"{DateRange.Start:D}", 170MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_YEAR => $"{DateRange.Start:Y}", 171MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_DECADE => $"{DateRange.Start:yyy}", 172MONTH_CALDENDAR_MESSAGES_VIEW.MCMV_CENTURY => $"{DateRange.Start:yyy} - {DateRange.End:yyy}", 190if (DateRange is not null) 192_monthCalendarAccessibleObject.SetSelectionRange(DateRange.Start, DateRange.End); 211if (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)
129if (cell is null || cell.DateRange is null) 134string 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)
357SelectionRange? cellRange = cell.DateRange; 601range = FocusedCell?.DateRange;