When you are binding data there are additional properties that allow you to format the display and to handle errors and null values. These are a valuable addition to any data bound control to ensure your user has a great experience.
The StringFormat property allows you to add any standard .NET format string that matches the type you are binding to, the FallbackValue instructs the binding on what to display if the binding fails and the TargetNullValue instructs the binding on what to display if the value bound to is null.
Full Article: Jesse Liberty
Before the Mango update, Windows Phone developers were advised against using the application bar with a Panorama control. This was somewhat changed with the Mango which includes a new minimized mode for the application bar. This mode can be accessed using the Mode-property of the application bar.
For example the built-in People hub uses this new mode. But if you cycle through the panorama items in the People hub, you’ll notice that there’s one panorama item where the application bar is shown in its default mode. This is a nice behavior because it draws the user’s attention to the functionalities provided by the application bar. And this same behavior has been replicated by many 3rd part applications. But be careful with it, because in its current state, changing between the two different modes may cut some pixels from your panorama’s background.
Mikael Koskinen has written a short piece on how to overcome this problem and ensure a continuous user experience.
Full Article: mikaelkoskinen.net
The Microsoft Advertising SDK was only available in the US for the initial Windows Phone launch. With the release of Mango however, 11 additional countries were added including the UK.
What does this mean? It means it’s really simple to integrate advertising into your Windows Phone application (or game, Silverlight or XNA). Microsoft Advertising Network servers deliver ads to your users and you get a share of the advertising revenue.
In-App advertising can offer a great alternative mechanism for monetizing your apps. Instead of charging up-front, you offer the app for free and make money through advertising. Or you offer a free, ad-supported version alongside a paid, ad-free version. Experimenting with different models may itself prove to be a very worthwhile investment!
Mike Ormond has written a quick post on how to implement the Ad SDK into your Windows Phone Project.
Full Article: Mike Ormond’s Blog
A couple of days ago I was building a ListBox for a wp7 app which required the ListBoxItems to use the full width of the container. I tried to apply some of my WPF knowledge to fix the problem, using HorizontalAlignment=”Stretch” but to no avail. It took me ages to find a work around & I ended up using fixed width’s. For now, a fixed width solution is okay in portrait mode, but if I wanted the app to support both orientations, I would need a better solution.
This morning I stumbled across this post which explains that there is a bug in the coding for the WP7 Silverlight ListBox and the correct XAML code to fix it. Click the link below to read the full article.
Full Article: Timdam’s blog
So here is a welcome discovery. After implementing the PerformanceProgressBar in my first NoDO app, I really thought that there needed to be a simpler way to implement a progress indicator…and now it’s here.
Ducas Francis has written up a quick piece on how to use the new built in progress bar that can be found within System Tray, along with an overview of the other additions new to Mango
Full Article: blog.duc.as
Via: WindowsPhone Geek
With the new Mango toolkit now fully released, there’s no excuse for poor performance. When building any new mango app using the new Performance Analysis is a must. This helps identify any threads in your app which are severely impact the runtime performance.
This article by Matt Lacey, explains how he identified a problem with the toolkit transitions, which can impact performance in a major way.
Full Article: blog.mrlacey.co.uk.
Recently a new version of the Windows Phone Toolkit was released: Windows Phone Toolkit – August 2011 (7.1 SDK). This 3-part article covers all the key concepts of the new HubTile control.
Full Article: WindowsPhoneGeek
One phrase that I think describe this series of articles is “Hello World re-done”. This is the first installment, and from the looks of it (and past form) this is going to be a very useful tutorial for all those brand new developers. Taking you through from design in Blend to coding & debugging in VS. Click the link to see what I’m craving about.
Full Article: JesseLiberty.com
PS this is my 1st post from the WP7 WordPress app, so we’ll see how easy it is.
So… It’s been far too long since In last posted an article I liked.
This one is from Microsoft Feed and gives a very detailed tutorial of binding using a Viewmodel. I was quite fortunate when learning this, as I had an MVP at hand to throw any questions at. But for those not lucky enough to have that, this is a perfect introduction.
Full Article: Working With Data In Windows Phone 7 | MicrosoftFeed.
The Windows Phone life cycle is not terribly complicated, but it can be the source of some confusion, and managing the life-cycle can be intimidating to new Windows Phone programmers. This posting will review the basic life-cycle of a Windows Phone application and will show you what you need to do to preserve state and give your users a rewarding phone experience.
Full Article: Page State–Step by Step | Jesse Liberty.