xtd 0.2.0
Loading...
Searching...
No Matches

◆ enable_dark_mode()

static void xtd::forms::application::enable_dark_mode ( )
static

Enables dark mode for the application.

Exceptions
xtd::invalid_operation_exceptionIf this method is called after xtd::forms::application::run.
Remarks
By default, the dark mode is enabled automatically if the system is in dark mode.
xtd::forms::application::enable_dark_mode sets the application in dark mode even if your system is in light mode.
Deprecated:
Replaced by xtd::application::dark_mode - Will be removed in version 0.4.0