A common question among new Silverlight and WPF developers is “How do I bind from XAML to a property in code behind?”. This is something you might want to do to test something or create a quick spike. You’d expect to be able to “just bind” to the property – it is defined in the [...]
Bind from XAML to property defined in code-behind
May 17th, 2011 by Anders Bursjöö and Anders Fjeldstad — .Net, Tips & Tricks, Uncategorized
Tags: Binding, silverlight, WPF
Loading data during WP7 Page navigation – the slow, the fast and the incremental
April 29th, 2011 by Andreas Hammar — .Net
To show data to the user you have to load data and bind data – but which one is the slow part? Answer: It depends on the nature of your data and the complexity of your UI. This post will show you that data can be loaded on the UI thread or the background thread, [...]
Tags: .Net, silverlight, windows phone 7, wp7dev
Create a round button control for Windows Phone 7
February 3rd, 2011 by Håkan Reis — .Net
As you might have seen in the Windows Phone 7 Office application there are small round buttons in the panorama. As you should never use the application bar in the panorama it’s a good way to get some navigation points into the panorama. There are a few versions of this button out, ranging from styling [...]
Tags: silverlight, windows phone 7, wp7
Performance of Sterling Database for Windows Phone 7
November 17th, 2010 by Andreas Hammar — .Net
Background Storage for Windows Phone 7 is an important issue and needed for both supporting tombstoning by persisting state and for storing application data. The out of the box storage mechanism available on the phone is IsolatedStorage, accessible either via an class library with classes such as IsolatedStorageFile and IsolatedStorageFileStream, or through a key-value store [...]
Tags: .Net, silverlight, windows phone 7, wp7dev
Enable background audio for multiple pages in Windows Phone 7 – Take 2
November 11th, 2010 by Håkan Reis — .Net
Update: Use with caution, added TestProject. A couple of weeks ago I was working on a problem with handing audio over multiple pages in an application. It worked out well until the updated toolkit that came out in the beginning of November. I tried to add page transitions and after a day of frustration I [...]
Tags: .Net, audio, silverlight, windows phone 7, wp7dev
Enable background audio for multiple pages in Windows Phone 7
October 4th, 2010 by Andreas Hammar and Håkan Reis — .Net
Building an audio application this weekend I ran into a problem; where do you place the media element when you have more than one page, and you want the audio to continue playing when you navigate between pages. I will get to the solution later on in the post but first some background. During the [...]
Tags: .Net, silverlight, windows phone 7, wp7dev
Windows Phone 7 planning poker game application
July 14th, 2010 by Håkan Reis — .Net
Update 2: Now using the RTM SDK! Update: Now using the new beta of the windows phone SDK! I was trying out a few things on the windows phone 7 platform and wanted to come up with a simple application idea. There are numerous of simple list application examples out there like twitter and RSS [...]
Tags: silverlight, windows phone, wp7dev
Silverlight: Prefer synchronous web service calls
June 10th, 2010 by Andreas Hallberg — .Net
Daniel Vaughan realized that synchronous web service calls are perfectly legal in Silverlight as long as the calls are not made on the UI thread. He wrote a neat library on CodeProject for it. Using Daniel’s library, our Async helper and interfaces for our web services, we can write beautiful web service-calling code in Silverlight: [...]
Tags: silverlight, synchronous, webservice
Windows Phone 7 series paper prototype
May 27th, 2010 by Håkan Reis — .Net
I was trying to figure out what text size to use on the Windows Phone to make it readable. After using the 24” monitor where I get a “big ass” phone, also known as a .Pad , I realized that it’s not going to work. So I started out a little quest to find some [...]
Tags: silverlight, windows phone
