Gets a collection of DayOfWeekStyle objects that allow customizing the appearance of specific days of the week in the calendar.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
SyntaxC#
Copy Code
|
|---|
public List<DayOfWeekStyle> DayOfWeekStyles { get; } |
Visual Basic
Copy Code
|
|---|
Public ReadOnly Property DayOfWeekStyles As List(Of DayOfWeekStyle) |
A list of DayOfWeekStyle objects.
RemarksAdd DayOfWeekStyle objects to this collection to specify a distinct style for a day of the week. If several styles are defined for the same day, the one having the highest Priority is used.
ExampleThe following example demonstrates how to make all weekend days to be colored differently. The example assumes that calendar references an existing Calendar object.
C#
Copy Code
|
|---|
calendar.CurrentView = CalendarView.Month; |
Visual Basic
Copy Code
|
|---|
calendar.CurrentView = CalendarView.Month |
See Also