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

◆ enable_light_mode()

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

Enables light mode for the application.

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