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

ScaleBasedRangeControlClientOptions.MaxSelectedIntervalCount Property

Gets or sets the maximum number of intervals that the selected range can include.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

[DefaultValue(0)]
public int MaxSelectedIntervalCount { get; set; }

#Property Value

Type Default Description
Int32 0

An integer value that specifies the maximum number of intervals that can be included in the selected range.

#Remarks

When using a RangeControl to navigate within a SchedulerControl, an end-user selects a particular time range in the RangeControl to which the scheduler visible interval will be scrolled. RangeControl selection can include one or several intervals. When the MaxSelectedIntervalCount property value is 0, the time range that can be selected in the RangeControl is unrestricted. If it is needed to prevent end-users from selecting a large time interval and specify the maximum permissible number of intervals that can be simultaneously selected, set the MaxSelectedIntervalCount property value as required.

See Also