Skip to content

WorkWeekMask Property

See Also

See Also


Description

Specifies which days of the week are "work days".

Property Type

Read-write property

Syntax (Visual Basic)

Public Property WorkWeekMask() As [CalendarWeekDay](XtremeCalendarControl~Enumerations~CalendarWeekDay_EN.md)

Remarks

When in Day or WorkWeek view, a WorkWeekMask can be applied that indicates the days and times of normal work hours. The time cells starting at WorkDayStartTime and ending at WorkDayEndTime will appear as a different color to indicate the time of day for work hours.

The CalendarWeekDay enumeration is used to indicate which days of the week are "work days", specifying which days will receive the "mask".

For example, if WorkWeekMask is set to xtpCalendarDayMo_Fr with WorkDayStartTime set to 8 A.M. and WorkDayEndTime set to 5 P.M., then the hours of 8 A.M. to 5 P.M. Monday through Friday will appear in a different color so that work hours for the specified days can easily be seen. This only affects the cell color and not the event colors.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.