Gets a collection of DateStyle objects that allow customizing the appearance of specific months in the calendar.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
SyntaxC#
Copy Code
|
|---|
public List<DateStyle> MonthStyles { get; } |
Visual Basic
Copy Code
|
|---|
Public ReadOnly Property MonthStyles As List(Of DateStyle) |
A list of DateStyle objects.
RemarksUse 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.
ExampleThe following example creates a custom style for the current month. The example assumes that calendar references existing Calendar control.
C#
Copy Code
|
|---|
// Create the custom date style |
Visual Basic
Copy Code
|
|---|
' Create the custom date style |
See Also