Exemplo n.º 1
0
        public AboutPage()
        {
            InitializeComponent();

            ViewModel = BindingContext as AboutViewModel;

            GoButton.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperCommand));
            GoWithCodeBehind.SetBinding(Button.CommandProperty, nameof(ViewModel.GoOneLevelDeeperWithPageCommand));
        }