コード例 #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            CloseButton.SetCommand(ViewModel.CloseCommand);
            DoneButton.SetCommand(ViewModel.DoneCommand);
        }
コード例 #2
0
 public override void OnViewCreated(View view, Bundle savedInstanceState)
 {
     base.OnViewCreated(view, savedInstanceState);
     DoneButton.SetCommand(nameof(Button.Click), ViewModel.Done);
 }