private void Mail_OnTap(object sender, GestureEventArgs e) { var s = new DarumaWishThemeToLocalizationString(); var shareStatusTask = new EmailComposeTask { Body = _infoSharing.Quote }; if (_infoSharing.WishTheme != DarumaWishTheme.NoSet) { shareStatusTask.Subject = s.GetLocalizationByTheme(_infoSharing.WishTheme); } //new ShareStatusTask { Status = Quote }; shareStatusTask.Show(); }
private async Task CreateTile() { var tileIconUrl = Daruma.ImageUri; var url = ViewUrlRouter.DarumaShakeViewByIdUrlWithKey(Daruma.Id); var tiitleTheme = new DarumaWishThemeToLocalizationString().GetLocalizationByTheme(Daruma.Theme); string quote = await _viewModel.UpdateDarumaQuotation(); var tileData = new StandardTileData() { Title = tiitleTheme, BackTitle = Daruma.Wish, BackContent = quote, BackgroundImage = tileIconUrl }; ShellTile.Create(new Uri(url, UriKind.Relative), tileData); }