jp2masa - Movere.Win32 0.2.1-build2.389+170b214
Movere is an implementation of managed dialogs for Avalonia.
PM> Install-Package Movere.Win32 -Version 0.2.1-build2.389 -Source https://www.myget.org/F/jp2masa/api/v3/index.json
> nuget.exe install Movere.Win32 -Version 0.2.1-build2.389 -Source https://www.myget.org/F/jp2masa/api/v3/index.json
> dotnet add package Movere.Win32 --version 0.2.1-build2.389 --source https://www.myget.org/F/jp2masa/api/v3/index.json
source https://www.myget.org/F/jp2masa/api/v3/index.json
nuget Movere.Win32 ~> 0.2.1-build2.389
Copy to clipboard
> choco install Movere.Win32 --version 0.2.1-build2.389 --source https://www.myget.org/F/jp2masa/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "jp2masa" -SourceLocation "https://www.myget.org/F/jp2masa/api/v2"
Install-Module -Name "Movere.Win32" -RequiredVersion "0.2.1-build2.389" -Repository "jp2masa" -AllowPreRelease
Copy to clipboard
| Package | NuGet | MyGet |
|---|---|---|
| Movere | ||
| Movere.FileDialogs | ||
| Movere.Win32 |
Movere
![]()
Movere is an implementation of managed dialogs for Avalonia. Currently there are message dialogs, as well as open and save file dialogs, and a print dialog (based on System.Drawing.Printing) is WIP.
Getting Started
Registering file dialogs with Avalonia
To use Avalonia storage provider APIs, it's possible to simply register Movere dialogs with AppBuilder:
- Import
Moverenamespace:
using Movere;
- Add
UseMovereStorageProvidertoAppBuilderconfiguration. Example:
AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseMovereStorageProvider();
- Then use Avalonia system dialog APIs. Example:
var options = new FilePickerOpenOptions()
{
...
};
var result = parent.StorageProvider.OpenFilePickerAsync(options);
(Deprecated) System Dialog APIs
If using the old system dialogs APIs, the AppBuilder extension method is UseMovereSystemDialogs and an example is:
var dialog = new OpenFileDialog();
var result = await dialog.ShowAsync(parent);
Using dialog hosts
To simply use the dialogs (this example is for message dialogs, but it's similar for others):
- Create a dialog host for the
owner:
var dialogHost = new WindowDialogHost(owner);
// OR
var dialogHost = new OverlayDialogHost(owner);
- Pass the host to the view model:
window.DataContext = new ViewModel(dialogHost);
- Show dialog from the view model when you need to:
private Task ShowInfoAsync() =>
_dialogHost
.ShowMessageDialog(
new MessageDialogOptions((LocalizedString)"Message Dialog", "Some info")
{
Icon = AvaloniaDialogIcon.Info,
DialogResults = DialogResultSet.OK
}
);
Available icons are:
DialogIcon.NoneAvaloniaDialogIcon.InfoAvaloniaDialogIcon.WarningAvaloniaDialogIcon.Error
To add your own icon, just call AvaloniaDialogIcon.TryCreate, passing the
resource string, e.g avares://My.App/Resources/Icons/MyIcon.png.
Dialog results are extensible as well, and support localization.
Roadmap
- Maybe separate file explorer view into separate project.
- Improve styles for dialogs.
- Add tests.
- Print dialog.
- Eventually move file explorer logic to a separate project and create a file explorer application.
Credits
Icons
flaticon.com
- File - Kiranshastry
- Folder - Smashicons
The project logo is from linea.io.
- .NETFramework 8.0: 8.0.0.0
Ownersjp2masa |
Authorsjp2masa |
Project URLhttp://github.com/jp2masa/Movere |
LicenseUnknown |
Tagsmovere avalonia dialogs dotnet core csharp vb visual basic fsharp |
Info2 total downloads |
| 0 downloads for version 0.2.1-build2.389+170b214 |
| Download (427.32 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
0.2.1-build2.389+170b214 | 427.32 KB | Mon, 05 Jan 2026 03:27:24 GMT | 0 |
|
||
|
|
0.2.1-build2.388+2a70080 | 427.33 KB | Mon, 05 Jan 2026 03:16:16 GMT | 0 |
|
||
|
|
0.2.1-build2.387+9d4cd76 | 427.46 KB | Mon, 05 Jan 2026 02:54:22 GMT | 0 |
|
||
|
|
0.2.1-build2.386+ca26a55 | 427.13 KB | Mon, 05 Jan 2026 02:32:48 GMT | 0 |
|
||
|
|
0.2.1-build2.385+349bdb8 | 426.84 KB | Tue, 23 Dec 2025 01:55:01 GMT | 0 |
|
||
|
|
0.2.1-build2.384+616e5be | 426.82 KB | Mon, 22 Dec 2025 18:28:02 GMT | 0 |
|
||
|
|
0.2.1-build2.383+325311a | 426.79 KB | Mon, 22 Dec 2025 18:09:31 GMT | 1 |
|
||
|
|
0.2.1-build2.381+d9564bc | 416.85 KB | Sun, 17 Aug 2025 16:35:04 GMT | 0 |
|
||
|
|
0.2.1-build2.378+4710189 | 404.36 KB | Fri, 20 Sep 2024 02:17:40 GMT | 0 |
|
||
|
|
0.2.1-build2.377+e1be528 | 404.27 KB | Mon, 16 Sep 2024 02:12:28 GMT | 0 |
|
||
|
|
0.2.1-beta.1 | 404.35 KB | Fri, 20 Sep 2024 02:20:50 GMT | 0 |
|
||
|
|
0.2.0 | 402.04 KB | Thu, 05 Sep 2024 23:59:45 GMT | 0 |
|
||
|
|
0.2.0-build2.375+27a5621 | 402.06 KB | Thu, 05 Sep 2024 23:11:09 GMT | 0 |
|
||
|
|
0.2.0-build2.373+7469252 | 402.17 KB | Thu, 05 Sep 2024 23:04:17 GMT | 0 |
|
||
|
|
0.2.0-build2.371+8578341 | 402.21 KB | Thu, 05 Sep 2024 19:11:51 GMT | 0 |
|
||
|
|
0.2.0-build2.370+94126a1 | 402.13 KB | Thu, 05 Sep 2024 18:02:06 GMT | 0 |
|
||
|
|
0.2.0-build2.369+94126a1 | 402.13 KB | Thu, 05 Sep 2024 17:59:45 GMT | 1 |
|
||
|
|
0.2.0-build2.9+5f2af0e | 402.16 KB | Thu, 05 Sep 2024 17:54:31 GMT | 0 |
|
||
|
|
0.2.0-build2.8+5c23bdb | 402.16 KB | Thu, 05 Sep 2024 16:36:27 GMT | 0 |
|
||
|
|
0.2.0-build2.7+626eeca | 402.15 KB | Thu, 05 Sep 2024 15:50:45 GMT | 0 |
|
||
|
|
0.2.0-build.359+9a2d393 | 401.25 KB | Mon, 02 Sep 2024 18:01:10 GMT | 0 |
|
||
|
|
0.2.0-build.358+ce1c922 | 401.29 KB | Sun, 01 Sep 2024 04:43:08 GMT | 0 |
|
||
|
|
0.2.0-build.356+12feed8 | 401.13 KB | Sun, 25 Aug 2024 05:29:40 GMT | 0 |
|