private void ViewModel_InAppNotificationRaised(object sender, string e) { GlobalInAppNotification.Show(e, 3000); }
private void Page_Loaded(object sender, Windows.UI.Xaml.RoutedEventArgs e) { Messenger.Default.Register <NotificationMessage>(this, (message) => GlobalInAppNotification.Show(message.Notification, 3000)); Window.Current.SizeChanged += Current_SizeChanged; InitLoginPopup(); }