Method DarkOrLight NamespaceAlternet.UI AssemblyAlternet.UI.Common.dll DarkOrLight(bool) Gets Dark if isDark is true and dark theme settings were defined; Light otherwise. public virtual ControlStateSettings DarkOrLight(bool isDark) Parameters isDark bool Whether to return Dark or Light. Returns ControlStateSettings