Since Microsoft dropped the “7” from Windows Phone at MIX 11, i`m dropping it too🙂

This roundup is all about MIX and it`s WP Sessions, which i enjoyed watching. So here they are…

All other session from MIX are on Channel9, just click HERE! They are worth watching.
As a little fun special of this blodpost, I recommend the “Developers” Song by Cory Smith featuring Steve Ballmer😀

After building a real Business-Intelligence app for my company, the “new” WP7 dev roundup has finally arrived. These articles are not all up-to-date, but I came along them over time and they may be interesting for the one or the other…

Get xml from server for Use on Windows Phone (Paul Sheriff)

Loading data when the user scrolls to the end of a list (Daniel Vaughan)

Quickly building a trial mode for a Windows Phone application (David Poll)

Rapid Respository (codeplex)

WP7 – Toast notifycation using Windows Azure Cloud service (codeproject)

This is just another small but helpful tip for Windows Phone 7 developers. Imagine that you want your user to type in some input, that you need to proceed. One can handle the precessing by offering a “confirm”-Button or something like it or you can just react on the Enter-Key of the softkeyboard.which is presented, when a user clicks in a textbox.

So, how is this accomplished? The Textbox-Control does not provide a OnEnter-event, all one can be found is something called KeyDown-event. This event is what we will use for our need.

In the XAML of your appropriate TextBox you can add a method to the KeyDown which will be fired if a key enters the TextBoxControl.

I called mine OnEnter and you can easily check, which key of the softkeyboard was “entered”🙂

It`s that simple🙂

This blogpost is more like a little hint or tip, if you want to develop your application with the MVVM – design pattern. Within Windows Phone 7 apps you can easily navigate through PhoneApplicationPages in the code-behind of your views with the NavigationService – Class.

But what if you handle some logic/calculation within a ViewModel and you want to navigate to another View on the basis of the result, you cannot access the NavigationService in this static context.

The solution for this is very simple! All you have to do is the following:

  • In the appropiate ViewModel, just create a property of type NavigationService, like so

  • using the NavService like you do in code-behind

  • and don`t forget to set the Property in the code-behind of the approriate view, so that the NavService is valid and to avoid a NullReferenceException🙂 You can do this in the constructor or any other initialization method.

I hope, that this little tip is useful for someone.

I`ve been really busy the last two weeks, so there`s just a new Dev.RoundUp FYI🙂

WP7 Unleashed Session I – Hands on labs (Daniel N. Egan)

Video Series “Windows Phone 7  Development for Absolute Beginners” (Joey DeVilla)

Windows Phone Push-Notification server side helper library (Windows Teamblog)

Developing for Windows Phone 7 : From concept to marketplace (Channel9 – Dmitry Lyalin)

Add User Controls (graphics) in background thread (Loek van den Ouweland)

Using LongListSelector-Control (.NET Zone – Den Delimarsky)

MEF for Windows Phone (Damon Payne)

Happy new year everyone!🙂 Here it is, the first WP7 Developer roundup for the 2011…

Windows Phone 7 Developer Guide (MS patterns & practices)

Windows Phone unplugged – How to detect the Zune software (Rene Schulte)

Adding GPS location to the map (ArcGIS Resource Center)

Windows Phone Programming in C# (MS Faculty Connection)

Implementing the MVVM Pattern in a WP7 Application (MSDN)

WP7 Camera Access Flashlight, Augmented Reality and Barcode Scanning (Kevin Marshall)

Windows Phone 7 Guides for IT-Professionals (MS)


So with the new update of the Silverlight tookit for WP7 there came along  a few new controls for us developers to play around! I chose the DatePicker-Control for this blogpost, cause it`s not that easy to implement it correctly in some ways and to give some answers for beginners.


  • First of all, download the toolkit from CodePlex and place it on your harddrive.🙂
  • Don`t forget to add a reference to Microsoft.Phone.Controls.Toolkit for your WP7-Project.
  • Open up your XAML of the appropriate PhoneApplicationPage in VisualStudio, where you want to implement the DatePicker-Control
  • Add the Namespace to your Page…

  • Using the Control on the page…

  • Now start your project for a first test. After clicking of the control, you you should see the following…

  • You will be presented a page for picking the date, like in the calendar-app, BUT this is no PhoneApplicationPage one hast access to!! I marked the buttons in the ApplicationBar. To fix this issue, so you have a “check” and a “cancel”-icon, you have to add a folder to your project called Toolkit.Content!
  • Now you have to add from your icons the ApplicationBar.Cancel.png and the ApplicationBar.Check.png to the folder.
  • The DatePicker control searches for exact this Folder with these two files!
  • After this, you`re done and it should look like this…

Have fun🙂

Its been busy weeks since the last Developer Roundup, but nethertheless here are the “new” Links🙂


Unit Converter Starter Kit WP7 (MSDN)

Gesture Service in depth (Windows Phone Geek)

Using Visual Studio to build VB WP7-Applications (VS Team Blog)

Using WCF on WP7 – walkthrough (Andy Pennell) (New Community and Forum)

Beginners guide SpriteBatch class for XNA & WP7 (EXHD)

How to implement Basic HTTP Authentification in WCF on WP7 (C is for Coder)


Here it is, the new WP7 Developer roundup for 11/25/2010! This time I provide more links then ever🙂

Windows Phone 7 Development Best Practices Wiki

Windows Phone 7 Development for absolute beginners (channel9)

Is my XNA Game dead yet?! (Dark Genesis)

There and back again “A tombstoning Tale” – The returning of an Application (Dark Genesis)

My Photo App – sample project (Jeff Wilcox)

The taming of the phone [new SetterValueBindingHelper] (Delay)

Windows Phone 7 with Expression Blend (Chris Koenig)

Use concurrent programming techniques (Silveright Hack)

Use ShellTileSchedule to easily update your live-tiles (Kevin D. Holes)

How to: Encode a JPEG for Windows Phone and Save to Pictures Library (MSDN)

Windows Phone 7 Line of Business App dev: Network awareness (Rob Tiffany)

As the title suggests, this blog post is all about bulding a UserControl for Silverlight, Windows Phone 7 or WPF development projects. I want to show this with a really simple example, inspiried by Silverlight in Action 4 by Pete Brown!

Open up Visual Studio and choose the class library project template for your target (e.g. SL or WP7)

In the solution explorer, rightclick on your project and add a new item –> <silverlight or WP7,…> user control! Now you see an almost empty xaml-file of your control. For this example we simple build a lockable textbox, so delete the the default grid and add a StackPanel and put a TextBox and a CheckBox in it.

Like in the picture, give your Text- and CheckBox a name. Cause we`re building a “lockable” Textbox, we want to set the IsReadOnly-Property of the TextBox to TRUE, if the user checks the CheckBox. This for example can be accomplished by DependencyProperties and binding in the code-behind or by writing  a simple converter-class, which we will be doing!

Now add a new class to your project and name it IsLockedConverter.cs or any other name you wish🙂. Cause it`s a converter we have to inherit from the IValueConverter interface, which provides us two methods, Convert() and ConvertBack(). We also have to inherit from the TextBox class, because we want to have access to the IsReadOnly-property of our TextBox.

In the Convert() method we have to return wether the given value is true or false. Just have a look at the implementation.

After this, we only have to add our new converter to our UserControl and using it! The first step is to add the appropriate xmlns in the header of the UserControl, in this case its something like this:


Maybe your namespace is slighly different than mine. The second step is to add our converter to the UserControl.Resources specified by x:Key for “calling” it later on.


<converters:IsLockedConverter x:Key=”IsLockedConverter” />


You can name your converter whatever you like. So now the interesting part of using our converter. Go to your TextBox declaration in the xaml and add the IsReadOnly-Property and add the following binding:

…IsReadOnly=”{Binding ElementName=myCheckBox, Path=IsChecked, Converter={StaticResource IsLockedConverter}}”

With this line of code you bind the CheckBox to the IsReadOnly-Property of your TextBox. ElementName is the specified name of your Checkbox and the Path is the CheckBoxs property. After the Path you see the “Converter=” there you have to add our converter as a static resource. So whenever the user checks the checkbox this boolean value is passed to our converter and sets the IsReadOnly property of the textbox.

That`s easy isn`t it?! I hope that this is useful for the one or the other.


You can grab the code here on GitHub…