void Tweet_Loaded(object sender, RoutedEventArgs e) { RemoveHTML conv = new RemoveHTML(); if (DataTransfer.DM == null) { Dispatcher.BeginInvoke(() => MessageBox.Show(Localization.Resources.ErrorLoadingTweet)); NavigationService.GoBack(); return; } status = DataTransfer.DM; RelativeDateTimeConverter dc = new RelativeDateTimeConverter(); CreateText(status); Text.UpdateLayout(); ContentPanel.DataContext = status; ViaDate.Margin = new Thickness(ViaDate.Margin.Left, Text.ActualHeight + Text.Margin.Top + 10, ViaDate.Margin.Right, ViaDate.Margin.Bottom); ViaDate.Text = (string)dc.Convert(status.CreatedDate, null, null, null); SName.Text = "@" + status.Author.ScreenName; ContentPanel.UpdateLayout(); }