Skip to main content
A newer version of this page is available. .

DateNavigator.SelectionBehavior Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.2.dll

NuGet Packages: DevExpress.Win.Design, 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
DateNavigator_Selection_Outlook DateNavigator_Selection_Simple
See Also