Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PetitionContractPage.xaml.cs
1using System.ComponentModel;
6{
10 [DesignTimeVisible(true)]
11 public partial class PetitionContractPage
12 {
17 {
19 this.InitializeComponent();
20 }
21
23 public override Task OnDisappearingAsync()
24 {
25 return base.OnDisappearingAsync();
26 }
27
28 private void Image_Tapped(object? Sender, EventArgs e)
29 {
30 if (this.ContentPageModel is PetitionContractViewModel PetitionContractViewModel)
31 {
33 if (Attachments is null)
34 return;
35
37 ImagesViewModel ImagesViewModel = new(Attachments);
38 ImagesPopup.BindingContext = ImagesViewModel;
40 //imagesViewModel.LoadPhotos(Attachments);
41 }
42 }
43 }
44}
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 contract petition request.
A page to display when the user is asked to petition a contract.
PetitionContractPage()
Creates a new instance of the PetitionContractPage class.
The view model to bind to when displaying petitioning of a contract in a view or page.
Contains a reference to an attachment assigned to a legal object.
Definition: Attachment.cs:10