Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PetitionSignaturePage.xaml.cs
5{
9 public partial class PetitionSignaturePage
10 {
15 {
16 this.InitializeComponent();
18 }
19
20 private void Image_Tapped(object? Sender, EventArgs e)
21 {
22 PetitionSignatureViewModel ViewModel = this.ViewModel<PetitionSignatureViewModel>();
23
24 Attachment[]? Attachments = ViewModel.RequestorIdentity?.Attachments;
25 if (Attachments is null)
26 return;
27
29 ImagesViewModel ImagesViewModel = new(Attachments);
30 ImagesPopup.BindingContext = ImagesViewModel;
32 //imagesViewModel.LoadPhotos(Attachments);
33 }
34 }
35}
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
static IPopupService PopupService
Popup service for presenting application popups.
Definition: ServiceRef.cs:142
Holds navigation parameters specific to views displaying a petition of a signature.
A page to display when the user is asked to petition a signature.
PetitionSignaturePage()
Creates a new instance of the PetitionSignaturePage class.
The view model to bind to when displaying petitioning of a signature in a view or page.
Contains a reference to an attachment assigned to a legal object.
Definition: Attachment.cs:10