Class ContactMigrationViewModel
Viewmodel for merging contacts into one main contact
Inheritance
System.Object
ContactMigrationViewModel
Namespace: Simplic.PlugIn.SAC.Contact.UI
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class ContactMigrationViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceContactMigrationViewModel(IList<ContactViewModel>)
Initialize new migration viewmodel. The first model in the list will be the main contact
Declaration
public ContactMigrationViewModel(IList<ContactViewModel> contacts)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ContactViewModel> | contacts |
Properties
| Improve this Doc View SourceContacts
Gets a the of contacts to work with
Declaration
public ObservableCollection<ContactViewModel> Contacts { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ContactViewModel> |
Duplicates
Gets a collection of duplicates besides the MainContact
Declaration
public CollectionViewSource Duplicates { get; }
Property Value
Type | Description |
---|---|
System.Windows.Data.CollectionViewSource |
MainContact
Gets or sets a contact in which all information can be merged to
Declaration
public ContactViewModel MainContact { get; set; }
Property Value
Type | Description |
---|---|
ContactViewModel |
SelectedContact
Gets or sets the selected contact
Declaration
public ContactViewModel SelectedContact { get; set; }
Property Value
Type | Description |
---|---|
ContactViewModel |