CalendarControlBase.SetSelection(DateTime, DateTime) Method
In This Article
Clears the selection and sets the selection to the specified date range.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
start | Date |
The first date of a range (this date is included into the selection) |
end | Date |
The last date of a range (this date is NOT included in the selection). |
#Remarks
Use the CalendarControlBase.SelectedRanges to access the selected dates.
See Also