Applies the specified theme to the calendar, optionally resetting all current settings.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
SyntaxC#
Copy Code
|
|---|
public void ApplyTheme ( |
Visual Basic
Copy Code
|
|---|
Public Sub ApplyTheme( _ |
A Theme object containing appearance settings.
Specifies whether to reset the settings.
ExampleThe following example attaches the Light theme to a calendar. The example assumes that calendar already references an existing Calendar object.
C#
Copy Code
|
|---|
calendar.ApplyTheme(MindFusion.Scheduling.WinForms.Theme.Light, false); |
Visual Basic
Copy Code
|
|---|
calendar.ApplyTheme(MindFusion.Scheduling.WinForms.Theme.Light, False) |
See Also