OnPoint.WPF
1.0.9
dotnet add package OnPoint.WPF --version 1.0.9
NuGet\Install-Package OnPoint.WPF -Version 1.0.9
<PackageReference Include="OnPoint.WPF" Version="1.0.9" />
paket add OnPoint.WPF --version 1.0.9
#r "nuget: OnPoint.WPF, 1.0.9"
// Install OnPoint.WPF as a Cake Addin
#addin nuget:?package=OnPoint.WPF&version=1.0.9
// Install OnPoint.WPF as a Cake Tool
#tool nuget:?package=OnPoint.WPF&version=1.0.9
OnPoint
Enhances the Reactive UI MVVM framework with easy to use classes for the most common use cases.
GitHub Source | NuGet Package VM | NuGet Package WPF | Documentation | Tutorial | FAQ
Goals:
- View Model first implementation pattern.
- Center all actions around asynchronous ReactiveCommands. (Explanation)
- Mirror patterns used by XAML based controls for easy binding.
- Allow the logic for simple UI elements like buttons and icons to be defined in C# for faster implementation.
- Automatically track the state of the view model and the items it contains (changed, busy, errored, etc).
In a nutshell:
ContentVM<T> - Tracks changes to a single item. Useful for binding to a ContentControl.
DualContentVM<T,U> - Adds a second tracked item to ContentVM<T>.
MultiContentVM<T> - Tracks changes to a collection items. Useful for binding to an ItemsControl.
MultiContentTrackedVM<T> - Adds the ability to track the changed status of each item in a MultiContentVM<T>.
CrudVM<T> - Adds create, read, update, and delete capabilities to MultiContentTrackedVM<T>.
CrudServiceVM<T> - Routes all CRUD function to the given service. Just provide an instance of ICrudService and everything is handled for you!
Icons can be added in view model code and are automatically rendered.
Every view model automatically tracks:
- Busy state
- Cancelable commands
- Visibility state
- Enabled state
- Command errors
- Activation state
- Error and HUD messages
Samples are on the wiki page.
See the test app for a complete example:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
-
- MahApps.Metro.IconPacks (>= 4.8.0)
- OnPoint (>= 1.0.7)
- ReactiveUI (>= 12.1.5)
- ReactiveUI.WPF (>= 12.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|