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

◆ user_interactive()

static bool xtd::forms::system_information::user_interactive ( )
static

Gets a value indicating whether the current process is running in user-interactive mode.

Returns
true if the current process is running in user-interactive mode; otherwise, false.
Remarks
When the xtd::forms::system_information::user_interactive property is false, do not display any modal dialogs or message boxes, as there is no graphical user interface for the user to interact with.
This property is false only when called from a service process or from a Web application.