Gets a collection of DateStyle objects that allow customizing the appearance of specific months in the calendar.
Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling
C#
![]() |
---|
public DateStyleCollection MonthStyles { get; } |
Visual Basic
![]() |
---|
Public ReadOnly Property MonthStyles As DateStyleCollection |
An instance of the DateStyleCollection class.
Use this collection to assign a distinct style to a month or a range of months, overriding the default style of the current view. If there are several styles defined for the same month, the one with highest Priority is used.
The following example creates a custom style for the current month. The example assumes that calendar references existing Calendar control.
C#
![]() |
---|
// Create the custom date style |
Visual Basic
![]() |
---|
' Create the custom date style |