Skip to content

SetTheme Method

Description

Applies a theme object to the Calendar.

Syntax

Public Sub SetTheme( _
    ByVal [Theme](#) As Object _
)

Parameters

  • Theme: Theme object to use for theming the calendar.

Remarks

SetTheme is used to apply a theme to the Calendar. The currently set theme object is stored in the Theme property.

You can apply one of the following theme objects to the Calendar:

Example

This sample illustrates how to apply the Office 2007 theme to the Calendar.

CalendarControl.SetTheme New CalendarThemeOffice2007

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.