BeforeDrawDayViewCell Event
See Also
CellParams - A CalendarDayViewCellParams object that contains cell date and time, if the cell is selected, and the background color of the cell.

Description
Occurs before each visible cell is drawn in Day View and Work Week View.
Syntax
Public Event BeforeDrawDayViewCell( _
ByVal CellParams As CalendarDayViewCellParams _
)
Parameters
- CellParams: A CalendarDayViewCellParams object that contains cell date and time, if the cell is selected, and the background color of the cell.
Remarks
The BeforeDrawDayViewCell event allows you to change the background color for individual cells in Day View and Work Week View. This can be used to shade multiple work hours for a given day. You can use this instead of the work week mask to display a custom set of work hours.
To do this, you would use the CalendarDayViewCellParams object that contains the background color for the cell to change the color. This is the only parameter you can change. The rest of the parameters tell you the cell date and time, and if the cell is selected.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.