Application Methods |
The Application type exposes the following members.
| Name | Description | |
|---|---|---|
| AsyncInvoke |
Invoke the action asynchronously on the UI thread
| |
| Attach |
Attach the application to an already-running native application with the same platform.
| |
| GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.) | |
| Invoke(Action) |
Invoke the specified action on the UI thread, blocking the current execution until it is complete.
| |
| InvokeT(FuncT) |
Invoke the specified function on the UI thread returning its value after the execution is complete.
| |
| InvokeAsync(Action) |
Invokes the specified action on the UI thread asynchronously with a Task.
| |
| InvokeAsyncT(FuncT) |
Invokes the specified function on the UI thread asynchronously and return the result in a Task.
| |
| Localize |
Localizes the specified text for the current locale, or provide alternative text for system supplied strings.
| |
| OnInitialized |
Raises the Initialized event.
| |
| OnLocalizeString |
Triggers the LocalizeString event.
| |
| OnNotificationActivated |
Raises the NotificationActivated event
| |
| OnTerminating |
Raises the Terminating event.
| |
| OnUnhandledException |
Raises the unhandled exception event.
| |
| Open |
Open the specified file or url with its associated application.
| |
| Quit |
Quits the application
| |
| Restart |
Restarts the application
| |
| Run |
Runs the application and begins the main loop.
| |
| Run(Dialog) |
Runs the application with the specified dialog and begins the main loop.
| |
| Run(Form) |
Runs the application with the specified mainForm and begins the main loop.
| |
| RunIteration |
Advanced. Runs an iteration of the main UI loop when you are blocking the UI thread with logic.
|