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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
Product | Versions 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.