CalendarControlBase.SetSelection(DateTime, DateTime) Method
Clears the selection and sets the selection to the specified date range.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
start | DateTime | The first date of a range (this date is included into the selection) |
end | DateTime | 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