DateNavigator.SelectionBehavior Property
Gets or sets a mode for selecting dates by dragging over them.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v21.1.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Scheduler
Declaration
Property Value
Type | Default | Description |
---|---|---|
CalendarSelectionBehavior | **OutlookStyle** | A CalendarSelectionBehavior enumeration member that specifies the selection mode. |
Available values:
Name | Description |
---|---|
Simple | Does not automatically extend the selection to the week’s start and end. |
OutlookStyle | Selects entire weeks |
Remarks
When dragging over the dates, the CalendarSelectionBehavior.OutlookStyle selection mode (default) selects entire weeks. The CalendarSelectionBehavior.Simple selection mode does not automatically extend the selection to the week’s start and end.
OutlookStyle | Simple |
---|---|
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionBehavior property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.