WpfEssentials 1.0.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package WpfEssentials --version 1.0.0
                    
NuGet\Install-Package WpfEssentials -Version 1.0.0
                    
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="WpfEssentials" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WpfEssentials" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="WpfEssentials" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WpfEssentials --version 1.0.0
                    
#r "nuget: WpfEssentials, 1.0.0"
                    
#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.
#:package WpfEssentials@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WpfEssentials&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=WpfEssentials&version=1.0.0
                    
Install as a Cake Tool

WpfEssentials

Nuget (WpfEssentials)

A .NET package containing helper classes, extension methods, converters, and base classes designed to simplify Win32 WPF app development.

Features

  • ObservableObject - An INotifyPropertyChanged implementation that makes changes to the state of an object observable by the view. To use, simply inherit from this class and call OnPropertyChanged() in your setters.
  • FullyObservableCollection - An ObservableCollection that allows the view to monitor changes to the state of each item in the collection, in addition to being able to monitor changes made to the collection itself. You can bind your view to the ItemPropertyChanged event to listen for item state changes.
  • RelayCommand - An ICommand implementation that lets you bind functions to components in a view. Commands can be unconditional or made to execute only when a condition is met (e.g. only when a file is open in the program).
  • EnumDescriptionConverter - An IValueConverter that will extract the description from an enum value if decorated with a DescriptionAttribute. This comes in handy when using enums for combo boxes.
  • MessageBoxEx - A Win32 MessageBox wrapper that's plays nicer with WPF applications. Message boxes can be made modal and will center over the parent window. All features of the standard Win32 MessageBox are included.
  • MessageBoxEventArgs - An EventArgs class for passing arguments to a message box. You can also specify a callback function that's invoked with the dialog result when closed. Useful if you're following MVVM and want to display a message box with little code-behind.
  • FileDialogEventArgs An EventArgs class for passing arguments to a FileDialog. Includes a callback function. You can also specify a callback function that's invoked with the dialog result and dialog state when closed. Useful if you're following MVVM and want to display a file dialog for opening/saving a file with little code-behind.

See examples of these classes in use here!

Contributing

If you have an idea, request, or feedback, please open an issue and tell me what you think.

If you'd like to contribute, you may fork the repository and make changes as you like. Pull requests are warmly welcomed!

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  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.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on WpfEssentials:

Package Downloads
GTASaveData.Core

GTASaveData core framework library.

WpfEssentials.Win32

Data types, extension methods, helper classes, and value converters designed to simplify Win32 WPF app development.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.1 2,436 9/13/2020
1.2.0 3,362 2/10/2020
1.1.0 793 12/30/2019

Initial release.