DayView.WorkTime Property
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public TimeOfDayInterval WorkTime { get; set; }
#Property Value
Type | Description |
---|---|
Time |
A DevExpress. |
#Remarks
Use the WorkTime property to specify working time for the Day or Work-Week view. Note that working hours are painted with a lighter color than non-working hours. This allows end-users to easily distinguish these two periods within the Day or Work-Week view, if both working and non-working hours are visible.
Set the DayView.ShowWorkTimeOnly property to true, to show working time only.
#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.