jp2masa - Movere.FileDialogs 0.2.1-build2.389+170b214
Movere is an implementation of managed dialogs for Avalonia.
PM> Install-Package Movere.FileDialogs -Version 0.2.1-build2.389 -Source https://www.myget.org/F/jp2masa/api/v3/index.json
> nuget.exe install Movere.FileDialogs -Version 0.2.1-build2.389 -Source https://www.myget.org/F/jp2masa/api/v3/index.json
> dotnet add package Movere.FileDialogs --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.FileDialogs ~> 0.2.1-build2.389
Copy to clipboard
> choco install Movere.FileDialogs --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.FileDialogs" -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
- Movere (>= 0.2.1-build2.389)
-
.NETStandard 2.0
- Movere (>= 0.2.1-build2.389)
- System.Collections.Immutable (>= 10.0.1)
- .NETFramework 8.0: 8.0.0.0
- .NETStandard 2.0: 2.0.0.0
Ownersjp2masa |
Authorsjp2masa |
Project URLhttp://github.com/jp2masa/Movere |
LicenseUnknown |
Tagsmovere avalonia dialogs dotnet core csharp vb visual basic fsharp |
Info0 total downloads |
| 0 downloads for version 0.2.1-build2.389+170b214 |
| Download (235.3 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
0.2.1-build2.389+170b214 | 235.3 KB | Mon, 05 Jan 2026 03:27:21 GMT | 0 |
|
||
|
|
0.2.1-build2.388+2a70080 | 235.15 KB | Mon, 05 Jan 2026 03:16:14 GMT | 0 |
|
||
|
|
0.2.1-build2.387+9d4cd76 | 235.3 KB | Mon, 05 Jan 2026 02:54:21 GMT | 0 |
|
||
|
|
0.2.1-build2.386+ca26a55 | 235 KB | Mon, 05 Jan 2026 02:32:46 GMT | 0 |
|