Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ChatPage.xaml.cs
2
4{
8 [XamlCompilation(XamlCompilationOptions.Skip)]
9 public partial class ChatPage
10 {
12 public override string? UniqueId
13 {
14 get => (this.ContentPageModel as ChatViewModel)?.UniqueId;
15 set
16 {
17 if (this.ContentPageModel is ChatViewModel ChatViewModel)
18 ChatViewModel.UniqueId = value;
19 }
20 }
21
25 public ChatPage()
26 {
27 this.ContentPageModel = new ChatViewModel(this, ServiceRef.NavigationService.PopLatestArgs<ChatNavigationArgs>());
28 this.InitializeComponent();
29 }
30 }
31}
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 specific to views displaying a list of contacts.
A page that displays a list of the current user's contacts.
ChatPage()
Creates a new instance of the ChatPage class.
The view model to bind to when displaying the list of contacts.