DayView.ShowWorkTimeOnly Property

Gets or sets a value indicating if the scheduler should show its data only for the working hours in the Day View, Work-Week View and the Full Week View.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool ShowWorkTimeOnly { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property ShowWorkTimeOnly As Boolean

Property Value

Type Default Description
Boolean

false

true to show data for working hours only; otherwise, false.

Remarks

The time interval for the working day in a Day View is specified via its DayView.WorkTime property.

When different work time intervals are specified in the SchedulerControl.QueryWorkTime event handler, the DayView.ShowWorkTimeOnly option has no effect.

NOTE

If the ShowWorkTimeOnly is set to true, and the DayView.WorkTime and DayView.VisibleTime properties are set to different intervals, the Scheduler view displays an interval that is an intersection of the specified intervals.

See Also