RegisterThemes Method (C1ThemeController)
In This Topic
Loads all themes from an assembly, and registeres them for use by theme controllers in the current application.
This method scans all resources in the specified assembly, and selects those with names ending in ".c1theme" (case insensitive). If a theme cannot be loaded (e.g. due to a duplicate name or other error), it is skipped (i.e. no exception is thrown).
Syntax
'Declaration
Public Shared Function RegisterThemes( _
ByVal As System.Reflection.Assembly _
) As System.String()
public static System.string[] RegisterThemes(
System.Reflection.Assembly
)
Parameters
- assembly
- The assembly to load/register themes from.
Return Value
The array of names of all loaded/registered themes.
See Also