Code Snippets for Windows 8

Here some of the Code Snippets which will be useful for developing Metro Style Store Apps Toast Message : var templateType = ToastTemplateType.ToastImageAndText02; var toastTemplate = ToastNotificationManager.GetTemplateContent(templateType); toastTemplate.GetElementsByTagName(“text”)[0].AppendChild(toastTemplate.CreateTextNode(“Toast Message From My App”)); toastTemplate.GetElementsByTagName(“image”)[1].AppendChild(toastTemplate.CreateTextNode(“Toast Message From My App”)); var toast =Continue reading… Code Snippets for Windows 8