コード例 #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);
        }
コード例 #2
0
 private void LaunchExampleFive()
 {
     Crostini.OpenNotification("Exporting file", isindeterminate: true);
 }
コード例 #3
0
 private void CloseExampleFive()
 {
     Crostini.CloseNotification();
 }
コード例 #4
0
        //Crostinis

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