RFBCodeWorks.Mvvm.IViewModel
1.0.1
dotnet add package RFBCodeWorks.Mvvm.IViewModel --version 1.0.1
NuGet\Install-Package RFBCodeWorks.Mvvm.IViewModel -Version 1.0.1
<PackageReference Include="RFBCodeWorks.Mvvm.IViewModel" Version="1.0.1" />
paket add RFBCodeWorks.Mvvm.IViewModel --version 1.0.1
#r "nuget: RFBCodeWorks.Mvvm.IViewModel, 1.0.1"
// Install RFBCodeWorks.Mvvm.IViewModel as a Cake Addin #addin nuget:?package=RFBCodeWorks.Mvvm.IViewModel&version=1.0.1 // Install RFBCodeWorks.Mvvm.IViewModel as a Cake Tool #tool nuget:?package=RFBCodeWorks.Mvvm.IViewModel&version=1.0.1
RFBCodeWorks.Mvvm.IViewModel
This dll provides the following:
IViewModel
- Interface that allows a ViewModel to specify a parent IViewModel object.
- This would be used for consumers that want to potentially have several ViewModels that are loosely associated (such as a window model, and a control/page model), so a caller can get to the window model from the control model
INotifyArgs
- This sealed concrete class is a container to house and implicitly return the default arguments for INotifyPropertyChanged and INotifyPropertyChanging
- Usage would be:
static readonly INotifyArgs MyPropertyChangingArgs = new INotifyArgs(nameof(MyProperty));
public void DoSomething() {
OnPropertyChanging(MyPropertyChangingArgs);
// Update Property
OnPropertyChanged(MyPropertyChangingArgs);
}
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 | 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. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on RFBCodeWorks.Mvvm.IViewModel:
Package | Downloads |
---|---|
RFBCodeWorks.Mvvm.Controls
This is a Library designed to ease working within an MVVM framework, and is meant to consolidate boiler-plate ViewModel interactions for common WPF controls into pre-built classes. ## Example - A simplified ComboBox Experience A ComboBoxDefinition has the following properties that the ViewModel may interact with, and are easily bound within the XAML using a single binding. - ItemSource (The items within the drop-down) - SelectedItem (The currently selected item) - SelectedValue \ SelectedValuePath ( The value of the SelectedItem, as an object, typically a property of the item ) - SelectedItemChanged event - Occurs and a new item is selected - ItemSourceChanged event - Occurs when the itemsource is updated - IsEnabled - Enable/Disable a control from within the ViewModel - Visibilty / IsVisible - Toggle visibility of an item from within the ViewModel ## XAML: <ComboBox MvvmControls:ControlDefinitions.ComboBoxDefinition="{Binding MyComboBox}" /> |
|
RFBCodeWorks.Mvvm.Dialogs
This dll relies on MvvmDialogs.IDialogService This dll provides the following: DialogServiceLocator / IDialogServiceLocator - Provides a way to locate an appropriate DialogService for a given owner window - Allows registering / unregistering dialogservices to a collection. - Allows specifying a default IDialogServiceLocator to select the appropriate DialogService from the collection. - If a customer locator is not specified, this library will use a default implementation that selects the first registered IDialogService. - The extension methods will use this locator to open a window if those methods are called. DialogService - Derived from MvvmDialogs.DialogService - Overrides the FindOwner method to allow traversing up a RFBCodeWorks.Mvvm.IViewModel chain until an owner window is located. - All instances are registered automatically to the DialogServiceLocator.RegisteredServices collection. DialogServiceExtensions - Various extension methods to avoid having to dive into the full namespace hierarchy of MvvmDialogs to generate the various objects, such as OpenFileDialog FileFilter - This class allows creation of file filters for the Open/Save file dialogs. MessageBoxSettings - Derived from MvvmDialogs.FrameworkDialogs.MessageBox.MessageBoxSettings - Provides several static methods for easier creation of common-use dialogs - Provides additional constructors - Provides a virtual 'Show(IViewModel)' dialog that can be used to show the MessageBox MvvmDialogs Dependency Notes: - Where Possible, this will target the latest release of the original maintainer's package. (.NetFramework, .Net6.0, etc) - Since this package also targets .NetCoreApp3.1 and .Net5, which have been deprecate by the original maintainer, these will depend on a seperate nuget package that retains the required functionality for this library. (Clone of main repo, just updated targets) |
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated StrongName Key