bovender framework
C# framework that implements MVVM and more
Bovender.UnitTests.Mvvm.ViewModelCollectionForTesting Class Reference
Inheritance diagram for Bovender.UnitTests.Mvvm.ViewModelCollectionForTesting:
Bovender.Mvvm.ViewModels.ViewModelCollection< TestModel, TestViewModel >

Public Member Functions

 ViewModelCollectionForTesting (ObservableCollection< TestModel > modelCollection)
 
- Public Member Functions inherited from Bovender.Mvvm.ViewModels.ViewModelCollection< TestModel, TestViewModel >
void RemoveSelected ()
 Removes all selected view models from the collection. More...
 
 ViewModelCollection (ObservableCollection< TModel > modelCollection)
 

Protected Member Functions

override TestViewModel CreateViewModel (TestModel model)
 
- Protected Member Functions inherited from Bovender.Mvvm.ViewModels.ViewModelCollection< TestModel, TestViewModel >
abstract TViewModel CreateViewModel (TModel model)
 
void SynchronizeOn ()
 Turns on synchronization of the view model collection and the model collection by adding appropriate event handles. More...
 
void SynchronizeOff ()
 Turns off synchronization of the view model collection and the model collection by removing the event handles. More...
 
void BuildViewModelCollection ()
 

Additional Inherited Members

- Properties inherited from Bovender.Mvvm.ViewModels.ViewModelCollection< TestModel, TestViewModel >
int CountSelected [get, set]
 
TViewModel LastSelected [get, set]
 
- Events inherited from Bovender.Mvvm.ViewModels.ViewModelCollection< TestModel, TestViewModel >
EventHandler< PropertyChangedEventArgs > ViewModelPropertyChanged
 Relays property-changed events from the view models in the collection. More...
 

Detailed Description

Definition at line 10 of file ViewModelCollectionForTesting.cs.


The documentation for this class was generated from the following file: