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
1
using
NeuroAccessMaui.Services
;
2
using
NeuroAccessMaui.Services.UI
;
3
using
System
;
4
5
namespace
NeuroAccessMaui.UI.Pages.Utility.Images
6
{
7
public
partial class
ImageCroppingPage
8
{
12
public
ImageCroppingPage
()
13
{
14
this.InitializeComponent();
15
// 1. Retrieve the nav args
16
ImageCroppingNavigationArgs
? NavArgs =
ServiceRef
.
NavigationService
.PopLatestArgs<
ImageCroppingNavigationArgs
>();
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
}
NeuroAccessMaui.Services.ServiceRef
Base class that references services in the app.
Definition:
ServiceRef.cs:43
NeuroAccessMaui.Services.ServiceRef.NavigationService
static INavigationService NavigationService
The navigation service for navigating between pages.
Definition:
ServiceRef.cs:178
NeuroAccessMaui.UI.Pages.Utility.Images.ImageCroppingNavigationArgs
Holds navigation parameters for opening the Image Cropping page.
Definition:
ImageCroppingNavigationArgs.cs:11
NeuroAccessMaui.UI.Pages.Utility.Images.ImageCroppingPage
Definition:
ImageCroppingPage.xaml.cs:8
NeuroAccessMaui.UI.Pages.Utility.Images.ImageCroppingPage.ImageCroppingPage
ImageCroppingPage()
Initializes a new instance of ImageCroppingPage.
Definition:
ImageCroppingPage.xaml.cs:12
NeuroAccessMaui.UI.Pages.Utility.Images.ImageCroppingViewModel
The ViewModel for ImageCroppingPage. Handles cropping commands and navigation logic.
Definition:
ImageCroppingViewModel.cs:14
NeuroAccessMaui.Services.UI
Definition:
BackMethod.cs:2
NeuroAccessMaui.Services
Definition:
PlatformSpecific.cs:35
NeuroAccessMaui.UI.Pages.Utility.Images
Definition:
ImageCroppingNavigationArgs.cs:6
System
Definition:
Adapters.g.cs:58
NeuroAccessMaui
NeuroAccessMaui
UI
Pages
Utility
Images
ImageCroppingPage.xaml.cs
Generated by
1.9.5