Kamishibai.View 2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Kamishibai.View --version 2.0.1                
NuGet\Install-Package Kamishibai.View -Version 2.0.1                
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="Kamishibai.View" Version="2.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kamishibai.View --version 2.0.1                
#r "nuget: Kamishibai.View, 2.0.1"                
#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 Kamishibai.View as a Cake Addin
#addin nuget:?package=Kamishibai.View&version=2.0.1

// Install Kamishibai.View as a Cake Tool
#tool nuget:?package=Kamishibai.View&version=2.0.1                

for Japanese

for Xamarin

KAMISHIBAI

KAMISHIBAI

KAMISHIBAI is a navigation library for WPF that supports MVVM pattern on Generic Host.

By declaring arguments in the ViewModel constructor, a dedicated navigation method is automatically generated.

To pass a string during a navigation, define a ViewModel as follows

[Navigate]
public class FirstViewModel
{
    public FirstViewModel(string message)
    {
        Message = message;
    }

    public string Message { get; }
}

A dedicated navigation method is then automatically generated and can be called as follows

await _presentationService.NavigateToFirstAsync("Hello, KAMISHIBAI!");

And you can use DI together.

public FirstViewModel(
    string message, 
    [Inject] ILogger<FirstViewModel> logger)

Declare an InjectAttribute for the argument you wish to inject a dependency on.

The logger is injected from the DI container. Exactly the same as in the navigation example above, only the message can be passed to the navigation.

KAMISHIBAI guarantees type safety during navigation, allowing for safe implementations that take full advantage of nullable.

KAMISHIBAI does not restrict any of the WPF functions and provides the following

  • Generic Host support
  • ViewModel-driven navigation using the MVVM pattern
  • Type-safe navigation parameters
  • Consistent event notifications for navigation
  • Support for maximizing the use of nullable

Generic Host support enables WPF to take advantage of most of the latest .NET technologies.

KAMISHIBAI provides the following features

  • Navigation
  • Display of new screens and user dialogs
  • Display of message dialogs, file selection and save dialogs

With KAMISHIBAI, the MVVM pattern can be most easily realized in WPF.

And it can be used with any existing MVVM framework or library. There is one restriction, however.

Please use KAMISHIBAI for navigation.

Documents

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kamishibai.View:

Package Downloads
Kamishibai.Hosting

MVVM navigation library for Generic Host.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 385 9/20/2024
3.0.0 404 6/6/2024
2.6.0 299 2/23/2024
2.5.0 168 1/18/2024
2.4.0 293 11/18/2023
2.3.0 143 11/18/2023
2.2.0 152 11/18/2023
2.1.0 166 10/29/2023
2.0.1 179 9/21/2023
2.0.0 263 4/22/2023
1.1.0 667 5/13/2022
1.0.0 527 5/5/2022
0.0.13-pre 173 5/5/2022
0.0.12-pre 159 5/5/2022
0.0.11-pre 178 5/5/2022
0.0.10-pre 165 5/1/2022
0.0.9-pre 186 4/30/2022
0.0.8-pre 172 4/30/2022
0.0.7-pre 151 4/29/2022
0.0.6-pre 172 4/26/2022
0.0.5-pre 172 4/26/2022
0.0.2-pre 186 4/26/2022
0.0.1-pre 180 4/25/2022