Back to Devexpress

Time Cells

windowsforms-1736-controls-and-libraries-scheduler-visual-elements-scheduler-control-time-cells.md

latest2.8 KB
Original Source

Time Cells

  • Apr 23, 2018

Time cells are elements of the day/time grid imposed on the working area of the Scheduler control. They can mark working hours and days with different colors. They allow the visual alignment of the scheduled appointments.

Scheduler layout provides the following classes for time cells located in different views and view areas :

ClassLocation
TimeCellThe main area of the Day View, Work Week View, Full Week View, Timeline View views.
AllDayAreaCellThe all-day area of the Day View, Work Week View, Full Week View views.
HorizontalSingleWeekCellThe main area of the Week View.
MonthSingleWeekCellThe main area of the Month View.
SelectionBarCellThe Selection Bar area of the Timeline View.

The table below lists properties and methods which affect the Time Cell appearance:

|

Appearance Customization Event

|

Handle the SchedulerControl.LayoutViewInfoCustomizing event to access the object which contains the information used to render a visual element.

| |

Custom Draw Events

|

SchedulerControl.CustomDrawTimeCell and SchedulerControl.CustomDrawDayViewAllDayArea events.

|

See Also

How to: Hide Grid Lines in the View