Windows Store Developer Solutions

Information + Context = Solution

Browse by Tags

Tagged Content List
  • Blog Post: Strategies for sharing code in XAML-based Universal apps

    Universal apps are a great way to share code between your Windows and Windows Phone versions of your app. Most devs have figured out how to share modules which are exactly the same, but sharing modules which are only almost the same is a bit less obvious. The Shared project isn’t a normal...
  • Blog Post: A Primer on WebView.NavigateToLocalStreamUri

    Scenario A forum post recently asked about navigating to a page that that contains images that are accessed using the ms-appdata:/// URL protocol. His problem was that he'd placed images in his application's local folder and wanted to use WebView.NavigateToString to show some dynamically-generated...
  • Blog Post: Constraining manipulations

    Touch screens are cool. Being able to drag and manipulate pictures and objects on the screen is fun, and the Xaml manipulation system makes it easy to drag and zoom controls by touch. Touch down, zip your finger across the screen, and watch the control slide away. But what if we want to apply more...
  • Blog Post: Frame of reference: keeping the music playing across pages

    A musical score is a great way to add zip to your app, but many people are stumped because the Xaml MediaElement will play music only when it’s in the visual tree. When the user navigates to a new page the music stops. This brings up the frequent question: How can I keep the music playing when...
  • Blog Post: How to apply an “Opacity Mask” to an image by mixing XAML and Direct2D

    If you are a XAML graphics dev you may be lamenting the fact that in Windows Store 8.x apps the “opacity mask” property is conspicuously missing from the XAML image based controls. This is an unfortunate omission because there really isn’t an easy way to facilitate the opacity mask...
  • Blog Post: Accessibility Gotchas 2: High Contrast

    The next accessibility gotcha that we see regularly is poor support for high contrast modes. The high level concepts are the same for Xaml and for HTML, but the specific methods to solve them and some of the low level issues are different. High contrast mode makes it easier for some low-vision users...
  • Blog Post: Accessibility Gotchas 1: Xaml ListView speaks in tongues

    I keep having the same conversation with a blind colleague: It always starts out well: Rob! Did you hear that Contoso has published their app to the Windows Store? It should be great! I’ve really been looking forward to this one! But then goes down hill: But I can’t use it… it...
  • Blog Post: Binding HTML to a WebView with Attached Properties

    It's been said that if you aren't data binding you aren't really using Xaml, and a frequent topic on the forums is how to bind HTML from a data model to a WebView. The problem: we bind data to properties, but the WebView doesn't have a property to bind to. An app sets the WebView's HTML by calling...
  • Blog Post: Don’t trust your TCP/IP printer’s status

    I recently ran into an issue with a customer who was experiencing an unstable experience querying for the System.Devices.Connected property of a printer from a Windows Store app. The printer was configured using a Standard TCP/IP port (For information on how to configure a printer via a Standard TCP...
  • Blog Post: Direct2D Windows Store app has distorted rendering (Windows 8.0)

    There is a situation where your Direct2D rendering can be distorted. This has been fixed in Windows 8.1 if you retarget your app for Windows 8.1 and rebuild it. This problem occurs when you create your DirectX surfaces in one orientation of the device and before you attach the context to the Page, you...
  • Blog Post: How to store JSON data in Windows Phone 8

    There have been a couple of forum questions on how to store JSON data and retrieve it in Windows Phone 8.  This post will explain how to do this with a simple example.  As a bonus I will show the code you can use to store a List of objects! JSON serialization is a great way to store objects...
  • Blog Post: Developing an app for both Windows Store and Windows Phone 8 platforms

    This article surveys various approaches in porting an application for use in the Windows Store and Windows Phone platforms. The Windows Phone 8 and Windows 8 – building together article identifies some benefits of this approach. You can plan in advance to ensure that the programming technologies...
  • Blog Post: WebView Magic Tricks: Zoom Levels

    One question I've heard a few times in the MSDN Windows Store App forums is about how to resize the content of the WebView. In my second post of the WebView Magic Tricks series, I explain how we can manipulate the content by using CSS that is fully supported by WebView and apply it without much hassle...
  • Blog Post: Where did all my gestures go?

    A common problem we’ve seen from customers is how to handle pointer input and manipulations on elements inside of collection controls such as ListViews, GridViews, and FlipViews. The app can get the PointerPressed event on items inside the View, but after that the pointer events disappear and the app...
  • Blog Post: Why does the XAML designer report that my custom elements have not been built?

    Consider a scenario where you've been working on developing business logic for your Windows Store app and you switch to the Visual Studio designer to check a UI element. You may notice the below message in the designer view of some XAML pages: The Design view cannot display correctly because some...
  • Blog Post: About WebView and Fonts...

    In my previous blog post, I posted some information about using a font which is included as part of the appx package (point #9) which turned out to be not correct. I took that information from this post on the Windows Store C# forum. Since then, I've received requests to more fully explain how to achieve...
  • Blog Post: Ten Things You Need to Know About WebView

    Hi - I am Matt Small, a Sr. Escalation Engineer on the Microsoft Windows Store Developer Solutions team. I have been working on Windows 8 since before the Release Preview, and I have spent many hours working in the Store forums, primarily in the C# forum. I’ve seen a *lot* of posts on the C# forum...
Page 1 of 1 (17 items)