windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-d6647f84.md
Gets or sets a mode for selecting dates by dragging over them.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(CalendarSelectionBehavior.OutlookStyle)]
[DXCategory("Behavior")]
public CalendarSelectionBehavior SelectionBehavior { get; set; }
<DefaultValue(CalendarSelectionBehavior.OutlookStyle)>
<DXCategory("Behavior")>
Public Property SelectionBehavior As CalendarSelectionBehavior
| 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
|
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 |
|---|---|
See Also