Exemplo n.º 1
0
        private async void LaunchExampleSix()
        {
            var badge = new Badge("Feedback phenom", "Submit 50 posts", Badge.StarNumbers.Three, true, DateTime.Now, ThemeColors.Orange16, "\uED15");

            var element = new BadgeElement
            {
                BadgeSource = badge
            };

            await Crostini.ShowNotification(badge.Description, title : badge.Title, icon : "\uE008", seconds : 4, content : element, defaultwidth : 200);
        }
Exemplo n.º 2
0
 private void LaunchExampleFive()
 {
     Crostini.OpenNotification("Exporting file", isindeterminate: true);
 }
Exemplo n.º 3
0
 private void CloseExampleFive()
 {
     Crostini.CloseNotification();
 }
Exemplo n.º 4
0
        //Crostinis

        private async void LaunchExampleFour()
        {
            await Crostini.ShowNotification("File exported", icon : "\uE008", seconds : 4);
        }