WpfEssentials.Win32
1.2.0
.NET Core 3.0
This package targets .NET Core 3.0. The package is compatible with this framework or higher.
.NET Framework 4.6.1
This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package WpfEssentials.Win32 --version 1.2.0
NuGet\Install-Package WpfEssentials.Win32 -Version 1.2.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.Win32" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WpfEssentials.Win32 --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WpfEssentials.Win32, 1.2.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.
// Install WpfEssentials.Win32 as a Cake Addin #addin nuget:?package=WpfEssentials.Win32&version=1.2.0 // Install WpfEssentials.Win32 as a Cake Tool #tool nuget:?package=WpfEssentials.Win32&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WpfEssentials
A .NET package containing data types and extension methods designed to simplify WPF app development.
Features
ObservableObject
- AnINotifyPropertyChanged
implementation that allows the view to observe changes in an object's state. To use, simply inherit from this class and callOnPropertyChanged()
in your setters.FullyObservableCollection
- AnObservableCollection
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 theItemStateChanged
event to listen for item state changes.EnumExtensions
- Extension methods for theEnum
class. Provides useful methods likeGetDescription()
for extracting a description string from aDescriptionAttribute
, and the more genericGetAttribute<T>()
for getting a reference to an arbitraryAttribute
attached to an enum value.- And more!
WpfEssentials.Win32
A Win32-specific extension of WpfEssentials.
Features
RelayCommand
- AnICommand
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).EnumValueCollection
- AMarkupExtension
that 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.EnumDescriptionConverter
- AnIValueConverter
that will extract the description from an enum value if decorated with aDescriptionAttribute
. This comes in handy when using enum values in combo boxes.MessageBoxEx
- A Win32MessageBox
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 Win32MessageBox
are included.MessageBoxEventArgs
- AnEventArgs
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
AnEventArgs
class for passing arguments to aFileDialog
. 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!
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 | 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. 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. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Framework | net461 is compatible. 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.0
- WpfEssentials (>= 1.2.0)
-
.NETFramework 4.6.1
- WpfEssentials (>= 1.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.