AvaloniaGenerics.Dialogs 0.1.2

dotnet add package AvaloniaGenerics.Dialogs --version 0.1.2                
NuGet\Install-Package AvaloniaGenerics.Dialogs -Version 0.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AvaloniaGenerics.Dialogs" Version="0.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvaloniaGenerics.Dialogs --version 0.1.2                
#r "nuget: AvaloniaGenerics.Dialogs, 0.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AvaloniaGenerics.Dialogs as a Cake Addin
#addin nuget:?package=AvaloniaGenerics.Dialogs&version=0.1.2

// Install AvaloniaGenerics.Dialogs as a Cake Tool
#tool nuget:?package=AvaloniaGenerics.Dialogs&version=0.1.2                

Avalonia Generics - Dialogs

Avalonia Generics - Dialogs is a helper libray that implements commonly used Dialog functions and Extensions like MessageBox and BrowserDialog.

Usage

The library needs to be initialized with the desktop window instance to attach the dialogs to, that can be done in the App.axaml.cs file as follows.

if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) {
    AppView view = new();

    desktop.MainWindow = view {
        DataContext = new AppViewModel(),
    };

    // Initialize the Dialogs library here
    view.InitializeGenericDialogs();
}

<br>

Install

Install with NuGet or build from source.

NuGet
Install-Package AvaloniaGenerics.Dialogs
Build from source
git clone https://github.com/ArchLeaders/AvaloniaGenerics.git
dotnet build AvaloniaGenerics/AvaloniaGenerics.Dialogs

© Arch Leaders

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AvaloniaGenerics.Dialogs:

Repository Stars
DeltaJordan/BotW-Save-Manager
BOTW Save Manager for Switch and Wii U
Version Downloads Last updated
0.1.2 427 10/31/2022
0.1.1 364 10/31/2022