コード例 #1
0
        public MyButton()
        {
            ViewModel           = new MyButtonViewModel();
            this.BindingContext = this.ViewModel;

            InitializeComponent();
        }
コード例 #2
0
 public FirstFragment()
 {
     this.ViewModel      = new MyButtonViewModel();
     this.BindingContext = this.ViewModel;
     InitializeComponent();
 }