Application.ColorTheme
property · Application · cAlgo.API
DesktopCLICloud
Gets the color theme.
Definition
ColorTheme ColorTheme {get;}
api.Application.ColorTheme: ColorTheme
Returns ColorTheme
Examples
if (Application.ColorTheme == ColorTheme.Dark)
Print("The dark color theme is active");
else
Print("The light color theme is active");
if api.Application.ColorTheme == ColorTheme.Dark:
api.Print("The dark color theme is active")
else:
api.Print("The light color theme is active")