Exemple #1
0
        public NotificationElement Show(DialogType type, string message, int?time = null)
        {
            if (!EnsureDialog())
            {
                return(null);
            }
            var not = new NotificationElement(type, message, _notificationsCollection, time);

            not.BeginEnterAnimation();
            return(not);
        }
Exemple #2
0
 public void Hide(NotificationElement notification)
 {
     notification?.Hide();
 }