Back to Devexpress

DateNavigator.SelectionBehavior Property

windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-d6647f84.md

latest2.3 KB
Original Source

DateNavigator.SelectionBehavior Property

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

Declaration

csharp
[DefaultValue(CalendarSelectionBehavior.OutlookStyle)]
[DXCategory("Behavior")]
public CalendarSelectionBehavior SelectionBehavior { get; set; }
vb
<DefaultValue(CalendarSelectionBehavior.OutlookStyle)>
<DXCategory("Behavior")>
Public Property SelectionBehavior As CalendarSelectionBehavior

Property Value

TypeDefaultDescription
CalendarSelectionBehaviorOutlookStyle

A CalendarSelectionBehavior enumeration member that specifies the selection mode.

|

Available values:

NameDescription
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.

OutlookStyleSimple

See Also

DateNavigator Class

DateNavigator Members

DevExpress.XtraScheduler Namespace