Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
CheckPasswordPopup.xaml.cs
1using System;
2using Microsoft.Maui.Controls;
4
6{
10 public partial class CheckPasswordPopup : BasePopup
11 {
12 public CheckPasswordPopup()
13 {
14 this.InitializeComponent();
15 this.Loaded += this.OnLoaded;
16 }
17
18 private void OnLoaded(object? sender, EventArgs args)
19 {
20 this.Loaded -= this.OnLoaded;
21 this.PasswordEntry.Keyboard = ServiceRef.TagProfile.IsNumericPassword ? Keyboard.Numeric : Keyboard.Default;
22 this.PasswordEntry.Focus();
23 }
24 }
25}
Compatibility wrapper so old Mopups based popups work using the new popup infrastructure.
Definition: BasePopup.cs:10
Popup view for entering a password that will be validated against the stored credentials.