View model for the app
Inheritance: INotifyPropertyChanged
コード例 #1
0
        public MainPage()
        {
            // create view model and attach it here
            DataContext = new SecureDataViewModel();
            this.InitializeComponent();

            this.NavigationCacheMode = NavigationCacheMode.Required;
        }
コード例 #2
0
 public MainPage()
 {
     // create view model and attach it here
     DataContext = new SecureDataViewModel();
     this.InitializeComponent();
 }