Skip to main content

ScaleBasedRangeControlClientOptions.MaxSelectedIntervalCount Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.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