RegisterTheme(String) Method
In This Topic
Loads a theme from a file, and registeres it for use by theme controllers in the application.
After this method completes, the theme can be set via ApplicationTheme and Theme properties.
his method throws an exception if a theme with same name has already been registered.
Syntax
'Declaration
Public Overloads Shared Function RegisterTheme( _
ByVal As System.String _
) As System.String
public static System.string RegisterTheme(
System.string
)
Parameters
- fileName
- The file containing the theme to load/register.
Return Value
A name of registered theme.
See Also