Skip to main content

MonthView.ShowWeekend Property

Gets or sets a value indicating if the scheduler should also show its data for the weekend days (Saturday and Sunday) in a Month View.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowWeekend { get; set; }

#Property Value

Type Default Description
Boolean

true

true to show data for weekend days; otherwise, false.

#Remarks

Use the ShowWeekend property when only working days need to be shown in the Scheduler Control.

ShowWeekend = false ShowWeekend = true
DXScheduler_MonthView_ShowWeekendFalse DXScheduler_MonthView_CompressWeekendTrue

#Examples

This example demonstrates how to customize the Month View within the SchedulerControl. To do this, it is necessary to modify the MonthView object accessed via the SchedulerControl.MonthView property.

See Also