DayView.ShowWorkTimeOnly Property
Gets or sets a value indicating if the scheduler control should show its data only for the working hours in a Day View.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.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.
Examples
This example demonstrates how to customize the Day View within the SchedulerControl. To do this, it is necessary to modify the DayView object accessed via the SchedulerControl.DayView property.
See Also