See the version list below for details.
dotnet add package WpfEssentials --version 1.2.0
NuGet\Install-Package WpfEssentials -Version 1.2.0
<PackageReference Include="WpfEssentials" Version="1.2.0" />
paket add WpfEssentials --version 1.2.0
#r "nuget: WpfEssentials, 1.2.0"
// Install WpfEssentials as a Cake Addin #addin nuget:?package=WpfEssentials&version=1.2.0 // Install WpfEssentials as a Cake Tool #tool nuget:?package=WpfEssentials&version=1.2.0
A .NET package containing data types and extension methods designed to simplify WPF app development.
INotifyPropertyChangedimplementation that allows the view to observe changes in an object's state. To use, simply inherit from this class and call
OnPropertyChanged()in your setters.
ObservableCollectionthat 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
ItemStateChangedevent to listen for item state changes.
EnumExtensions- Extension methods for the
Enumclass. Provides useful methods like
GetDescription()for extracting a description string from a
DescriptionAttribute, and the more generic
GetAttribute<T>()for getting a reference to an arbitrary
Attributeattached to an enum value.
- And more!
A Win32-specific extension of WpfEssentials.
ICommandimplementation 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).
MarkupExtensionthat lets you get a collection of all the values in an enum in XAML. This makes it easy to put all values of an enum in a combo box.
IValueConverterthat will extract the description from an enum value if decorated with a
DescriptionAttribute. This comes in handy when using enum values in combo boxes.
MessageBoxEx- A Win32
MessageBoxwrapper 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
EventArgsclass 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.
EventArgsclass 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.
- And more!
See examples of these classes in use here!
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!
|Product||Versions 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.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on WpfEssentials:
GTASaveData core framework library.
Data types, extension methods, helper classes, and value converters designed to simplify Win32 WPF app development.
This package is not used by any popular GitHub repositories.