Click or drag to resize

Application Methods

The Application type exposes the following members.

Methods
  NameDescription
Public methodAsyncInvoke
Invoke the action asynchronously on the UI thread
Public methodAttach
Attach the application to an already-running native application with the same platform.
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.)
Public methodInvoke(Action)
Invoke the specified action on the UI thread, blocking the current execution until it is complete.
Public methodInvokeT(FuncT)
Invoke the specified function on the UI thread returning its value after the execution is complete.
Public methodInvokeAsync(Action)
Invokes the specified action on the UI thread asynchronously with a Task.
Public methodInvokeAsyncT(FuncT)
Invokes the specified function on the UI thread asynchronously and return the result in a Task.
Public methodLocalize
Localizes the specified text for the current locale, or provide alternative text for system supplied strings.
Protected methodOnInitialized
Raises the Initialized event.
Protected methodOnLocalizeString
Triggers the LocalizeString event.
Protected methodOnNotificationActivated
Raises the NotificationActivated event
Protected methodOnTerminating
Raises the Terminating event.
Protected methodOnUnhandledException
Raises the unhandled exception event.
Public methodOpen
Open the specified file or url with its associated application.
Public methodQuit
Quits the application
Public methodRestart
Restarts the application
Public methodRun
Runs the application and begins the main loop.
Public methodRun(Dialog)
Runs the application with the specified dialog and begins the main loop.
Public methodRun(Form)
Runs the application with the specified mainForm and begins the main loop.
Public methodRunIteration
Advanced. Runs an iteration of the main UI loop when you are blocking the UI thread with logic.
Top
See Also