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 }
public FlutterPage() { InitializeComponent(); DataContext = vm = App.Current.FlutterViewModel; Build(); vm.PropertyChanged += Vm_PropertyChanged; }