Retrieves a theme registered with the application, by its name.
'Declaration
Public Shared Function GetThemeByName( _
ByVal As System.String, _
ByVal As System.Boolean _
) As C1Theme
public static C1Theme GetThemeByName(
System.string ,
System.bool
)
Parameters
- themeName
- The name of the theme to get.
- throwException
- Indicates whether an exception should be thrown if the specified theme cannot be found.
Return Value
The theme with the specified name, or null if a matching theme could not be found while is false.