Exemple #1
0
        protected override void InitBindings()
        {
            Bindings.Add(this.SetBinding(() => ViewModel.Message, () => TextView.Text));

            ButtonGoBack.SetOnClickCommand(ViewModel.GoBackCommand);
            ButtonNavigateC.SetOnClickCommand(ViewModel.NavigateCCommand);
            ButtonNavigateCNoBackstack.SetOnClickCommand(ViewModel.NavigateCNoBackCommand);
        }
 protected override void InitBindings()
 {
     ButtonGoBack.SetOnClickCommand(ViewModel.GoBackCommand);
     ButtonNavigateA.SetOnClickCommand(ViewModel.NavigateAWithFirstOccurrence);
     ButtonNavigateB.SetOnClickCommand(ViewModel.NavigateBWithFirstOccurrence);
 }