Ingeloop.WPF.Core 1.1.7

Prefix Reserved
dotnet add package Ingeloop.WPF.Core --version 1.1.7                
NuGet\Install-Package Ingeloop.WPF.Core -Version 1.1.7                
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.7" />                
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.7                
#r "nuget: Ingeloop.WPF.Core, 1.1.7"                
#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.7

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

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.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages (1)

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

Package Downloads
Ingeloop.WPF.Design

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.7 103 9/21/2024
1.1.6 87 9/21/2024
1.1.5 125 8/18/2024
1.1.4 268 11/6/2023
1.1.3 181 5/1/2023
1.1.2 328 5/1/2023
1.1.1 338 4/11/2023
1.1.0 300 3/24/2023
1.0.0.1 1,915 1/22/2022