Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ImageCroppingPage.xaml.cs
3using System;
4
6{
7 public partial class ImageCroppingPage
8 {
13 {
14 this.InitializeComponent();
15 // 1. Retrieve the nav args
17 // 2. Create the ViewModel
18 ImageCroppingViewModel ViewModel = new ImageCroppingViewModel(NavArgs);
19 // 3. Assign the view model as the binding context
20 this.BindingContext = ViewModel;
21 // 4. Set the ViewModel's reference to the ImageCropperView
22 ViewModel.ImageCropperView = this.ImageCropperView;
23 }
24 }
25}
Base class that references services in the app.
Definition: ServiceRef.cs:43
static INavigationService NavigationService
The navigation service for navigating between pages.
Definition: ServiceRef.cs:178
Holds navigation parameters for opening the Image Cropping page.
ImageCroppingPage()
Initializes a new instance of ImageCroppingPage.
The ViewModel for ImageCroppingPage. Handles cropping commands and navigation logic.