コード例 #1
0
    public FlutterPage()
    {
        DataContext = vm = App.Current !.FlutterViewModel;
        Build();

        vm.PropertyChanged += Vm_PropertyChanged; // This is MVVM, but other update models can be hooked up here as well
    }
コード例 #2
0
    public FlutterPage()
    {
        InitializeComponent();
        DataContext = vm = App.Current.FlutterViewModel;
        Build();

        vm.PropertyChanged += Vm_PropertyChanged;
    }