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