Skip to main content

WeekIntervalCollection.CompressWeekend Property

Gets or sets a value which specifies whether the weekend days (Saturday and Sunday) should always persist in the collection together.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public bool CompressWeekend { get; set; }

Property Value

Type Description
Boolean

true to compress weekends; otherwise, false.

Remarks

This property is used when defining the start and end dates of the week intervals within the collection. For instance, if CompressWeekend is set to true, and SchedulerOptionsViewBase.FirstDayOfWeek is set to Sunday, then the week interval will contain Saturday (from this week) and Sunday (from the next week) together. Also in this case the Sunday of this week will not be contained in the collection.

WeekIntervalCollection.CompressWeekend

See Also