Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DateNavigator.SelectionBehavior Property

Gets or sets a mode for selecting dates by dragging over them.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

[DefaultValue(CalendarSelectionBehavior.OutlookStyle)]
[DXCategory("Behavior")]
public CalendarSelectionBehavior SelectionBehavior { get; set; }

#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
See Also