Summary
On desktop-style platforms runs the application's main loop until main window is closed
- Namespace
- Avalonia
.Controls - Containing Type
- Desktop
Application Extensions
Syntax
public static void Run(this Application app, Window mainWindow)
Remarks
Consider using StartWithDesktopStyleLifetime instead, see https://github.com/AvaloniaUI/Avalonia/wiki/Application-lifetimes for details
Parameters
Name | Type | Description |
---|---|---|
app | Application | |
mainWindow | Window |
Return Value
Type | Description |
---|---|
void |