8 instantiations of SelectionRange
System.Windows.Forms (8)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
707get => new(SelectionStart, SelectionEnd); 1252return new SelectionRange
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (2)
254return success ? new((DateTime)gridInfo.stStart, (DateTime)gridInfo.stEnd) : null; 545internal SelectionRange SelectionRange => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.SelectionRange : new SelectionRange();
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (4)
57return new SelectionRange(DateTime.Now.Date, DateTime.Now.Date); 68return new SelectionRange(values[0], values[1]); 79return new SelectionRange(dt, dt); 145return new SelectionRange((DateTime)propertyValues["Start"]!,
28 references to SelectionRange
System.Windows.Forms (28)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarAccessibleObject.cs (4)
27private SelectionRange? _dateRange; 69internal SelectionRange? DateRange 75SelectionRange? dateRange = _monthCalendarAccessibleObject.GetCalendarPartDateRange(MCGRIDINFO_PART.MCGIP_CALENDAR, _calendarIndex); 82SelectionRange? displayRange = _monthCalendarAccessibleObject.GetDisplayRange(false);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarCellAccessibleObject.cs (2)
30private SelectionRange? _dateRange; 62internal virtual SelectionRange? DateRange
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarDayOfWeekCellAccessibleObject.cs (1)
33internal override SelectionRange? DateRange => null;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarNextButtonAccessibleObject.cs (1)
68SelectionRange? displayRange = _monthCalendarAccessibleObject.GetDisplayRange(true);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarPreviousButtonAccessibleObject.cs (1)
58SelectionRange? displayRange = _monthCalendarAccessibleObject.GetDisplayRange(true);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarWeekNumberCellAccessibleObject.cs (1)
38internal override SelectionRange? DateRange => null;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (9)
108private SelectionRange? _currentDisplayRange; 335internal void FillMonthDayStates(Span<uint> monthDayStates, SelectionRange displayRange) 705public SelectionRange SelectionRange 1083SelectionRange range = GetDisplayRange(visible: false); 1139public SelectionRange GetDisplayRange(bool visible) 1248private SelectionRange GetMonthRange(uint flag) 1264private static int GetMonthsCountOfRange(SelectionRange displayRange) 1810SelectionRange displayRange = GetDisplayRange(false); 1975SelectionRange newRange = GetDisplayRange(false);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (5)
235internal unsafe SelectionRange? GetCalendarPartDateRange(MCGRIDINFO_PART dwPart, int calendarIndex = 0, int rowIndex = 0, int columnIndex = 0) 357SelectionRange? cellRange = cell.DateRange; 376internal SelectionRange? GetDisplayRange(bool visible) 545internal SelectionRange SelectionRange => this.TryGetOwnerAs(out MonthCalendar? owner) ? owner.SelectionRange : new SelectionRange(); 572SelectionRange? range;
System\Windows\Forms\Controls\MonthCalendar\SelectionRange.cs (1)
56public SelectionRange(SelectionRange range)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (3)
96if (value is SelectionRange range) 122ConstructorInfo? ctor = typeof(SelectionRange).GetConstructor( 175PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SelectionRange), attributes);