Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AddTextNotePopup.cs
1
using
System.Threading.Tasks;
2
3
namespace
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote
4
{
8
public
partial class
AddTextNotePopup
:
BasePopup
9
{
10
private
readonly
AddTextNoteViewModel
viewModel;
11
12
public
AddTextNotePopup
(
AddTextNoteViewModel
viewModel)
13
{
14
this.InitializeComponent();
15
this.viewModel = viewModel;
16
this.BindingContext = viewModel;
17
}
18
19
public
override
Task
OnAppearingAsync
()
20
{
21
this.NoteEntry.Focus();
22
return
base.OnAppearingAsync();
23
}
24
25
public
override
Task
OnDisappearingAsync
()
26
{
27
this.viewModel.Close();
28
return
base.OnDisappearingAsync();
29
}
30
}
31
}
NeuroAccessMaui.UI.Popups.BasePopup
Compatibility wrapper so old Mopups based popups work using the new popup infrastructure.
Definition:
BasePopup.cs:10
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote.AddTextNotePopup
Prompts the user for text to add as a note for a token.
Definition:
AddTextNotePopup.cs:9
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote.AddTextNotePopup.OnDisappearingAsync
override Task OnDisappearingAsync()
Method called when view is disappearing from the screen.
Definition:
AddTextNotePopup.cs:25
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote.AddTextNotePopup.OnAppearingAsync
override Task OnAppearingAsync()
Method called when view is appearing on the screen.
Definition:
AddTextNotePopup.cs:19
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote.AddTextNoteViewModel
View model for popup page prompting the user for a text note to be added.
Definition:
AddTextNoteViewModel.cs:12
NeuroAccessMaui.UI.Popups.Tokens.AddTextNote
Definition:
AddTextNotePopup.cs:4
NeuroAccessMaui
NeuroAccessMaui
UI
Popups
Tokens
AddTextNote
AddTextNotePopup.cs
Generated by
1.9.5