Ingeloop.WPF.Core 1.1.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Ingeloop.WPF.Core --version 1.1.4
NuGet\Install-Package Ingeloop.WPF.Core -Version 1.1.4
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="Ingeloop.WPF.Core" Version="1.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ingeloop.WPF.Core --version 1.1.4
#r "nuget: Ingeloop.WPF.Core, 1.1.4"
#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 Ingeloop.WPF.Core as a Cake Addin
#addin nuget:?package=Ingeloop.WPF.Core&version=1.1.4

// Install Ingeloop.WPF.Core as a Cake Tool
#tool nuget:?package=Ingeloop.WPF.Core&version=1.1.4

Ingeloop.WPF.Core

Core Library for WPF (base classes, converters)

Quick guide:

1) BaseViewModel:

Create a class that inherits from BaseViewModel:

public class ChatViewModel : BaseViewModel

It will give access to the OnPropertyChanged void:

private int progress;

public int Progress
{
    get
    {
        return progress;
    }
    set
    {
        progress = value;
        OnPropertyChanged(nameof(Progress));
    }
}

2) RelayCommand implementation:

Example of basic Command:

public ICommand UpdateProgressCommand
{
    get
    {
        return new RelayCommand(UpdateProgress);
    }
}

Example of Command with parameter:

public ICommand AddUserCommand
{
    get
    {
        return new RelayCommand<User>(AddUser);
    }
}

3) Converters:

Load the resource to your UI, as follow:

<ResourceDictionary Source="pack://application:,,,/Ingeloop.WPF.Core;component/Resources/Converters.xaml"/>

And use the converters as follow:

<ProgressBar
    Value="{Binding Progress}"
    Visibility="{Binding Progress, Converter={StaticResource ProgressToVisibilityConverter}}">
</ProgressBar>

List of converters: (In Progress)

Demo:

Demo Project

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ingeloop.WPF.Core:

Package Downloads
Ingeloop.WPF.Design The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Design Library for WPF (Controls, Colors, Styles)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.4 229 11/6/2023
1.1.3 154 5/1/2023
1.1.2 241 5/1/2023
1.1.1 287 4/11/2023
1.1.0 266 3/24/2023
1.0.0.1 1,826 1/22/2022