CalendarControlBase.SelectedRanges Property
Gets or sets the selected date ranges (DateRange objects). Each DateRange object identifies dates that are EQUAL OR GREATER THAN the DateRange.StartDate and LESS THAN the DateRange.EndDate. Thus the last date is excluded from the range.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraEditors.Controls.DateRangeCollection | A collection of selected date ranges. |
Remarks
To check whether or not a specific date is included in selected CalendarControlBase ranges, use the IsDateSelected method, not the Contains one.
See Also
SelectedRanges