[]
Retrieves a theme registered with the application, by its name.
public static C1Theme GetThemeByName(string themeName, bool throwException)
Type | Name | Description |
---|---|---|
string | themeName | The name of the theme to get. |
bool | throwException | Indicates whether an exception should be thrown if the specified theme cannot be found. |
Type | Description |
---|---|
C1Theme | The theme with the specified name, or null if a matching theme could not be found
while |