Beispiel #1
0
 public ContattoVM(Page curPage, INavigation navigation, Models.Contatto contatto) : base(curPage, navigation)
 {
     PropertyChanged += OnLocalPropertyChanged;
     Item             = contatto;
     EditCommand      = new Command(OnEditCommand);
     InsertCommand    = new Command(OnInsertCommand);
     UpdateCommand    = new Command(OnUpdateCommand);
     DeleteCommand    = new Command(OnDeleteCommand);
 }
Beispiel #2
0
 public ContattoEditV(Models.Contatto contatto)
 {
     InitializeComponent();
     viewModel      = new ViewModels.ContattoVM(this, Navigation, contatto);
     BindingContext = viewModel;
 }