windowsforms-devexpress-dot-xtrascheduler-dot-scheduleroptionsrangecontrol.md
Gets or sets a value indicating if the RangeControl should be automatically adjusted after the scheduler visible interval or active view has been changed.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(true)]
public bool AutoAdjustMode { get; set; }
<DefaultValue(True)>
Public Property AutoAdjustMode As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the RangeControl is automatically adjusted ; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AutoAdjustMode |
|---|---|
| SchedulerControl |
.OptionsRangeControl .AutoAdjustMode
|
If the AutoAdjustMode option is switched in, the RangeControl will be automatically adjusted in the following way:
After the SchedulerControl.ActiveView property value has been changed, the RangeControl visible scales (ScaleBasedRangeControlClientOptions.Scales) will be automatically switched to the scales are the best for using within RangeControl for navigating within the newly set scheduler view.
When the SchedulerControl.Start date is switched to a date that is beyond the RangeControl’s available time range (ScaleBasedRangeControlClientOptions.RangeMinimum, ScaleBasedRangeControlClientOptions.RangeMaximum), this range’s boundaries will be automatically recalculated so that this date will be in the middle of the newly set time range available in the RangeControl. The scheduler active view is also taken into account when recalculating the RangeControl available range.
Handle the SchedulerControl.RangeControlAutoAdjusting event for customization settings to be applied when the AutoAdjustMode property is set to true.
See Also
SchedulerOptionsRangeControl Class