public AboutPage() { InitializeComponent(); ViewModel = BindingContext as AboutViewModel; GoButton.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperCommand)); GoWithCodeBehind.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperWithPageCommand)); }