I promised earlier (http://peted.azurewebsites.net/fake-microsoft-band/) to share some more details about the client-side of the Band on the Run project I have been working on alongside my colleague at Microsoft David Gristwood.We set the project up initially as a learning opportunity…
Category: MVVM
databinding BingMaps Control Wp7 MVVM
Ok, so a similar treatment for the Bing Maps control as for previous posts on the Pivot and Panorama controls. So starting out with a standard Windows Phone Application project… Straight into the xaml: <Maps:Map x:Name="map" Grid.Row="1"> <Maps:MapItemsControl ItemsSource="{Binding PushPins}">…
Data Binding Panorama Control WP7 MVVM
by Peter Daukintis Ok, this is just a quick follow-up to a previous post Data Binding Pivot Control just as confirmation that this approach will work for the WP7 Panorama Control as well. Starting with the project from the previous…
Data Binding Pivot Control WP7 MVVM
by Peter Daukintis Ok, having had access to the official WP7 Pivot control in the RTM Tools for Windows Phone 7 for a few days I thought it was time to explore and particularly in it’s data binding capabilities. I…
WP7 ListBoxItem Animation on bound data changes (MVVM)
by Peter Daukintis Recently, I found myself needing to animate a List Box Item in response to it’s underlying bound data changing in a Windows Phone 7 application. Seems like this would be a fairly common requirement. I should add…
Windows Phone 7, MVVM and TDD (Part 7 – VisualStateManager transitions)
by Peter Daukintis So all that remains is to transition between the login ui to a welcome screen. I guess there are a number of ways of approaching this but I have decided to use the visual state manager. First,…
Windows Phone 7, MVVM and TDD (Part 6 – loading screen)
By Peter Daukintis First we need to create the loading screen user control which is heavily based upon the one used here http://www.orktane.com/Blog/post/2010/01/23/iPhone-Sudoku-in-Silverlight-using-MVVM.aspx. It consists of a grid containing eight rectangles which have associated animations that cycle through different greyscales/transparencies.…
Windows Phone 7, MVVM and TDD (Part 5 – creating the basic UI)
by Peter Daukintis Okay, so we haven’t touched on any of the user interface yet but this supports the theory that we should be able to develop the user interface independently of the code. So, these are the areas we…
Windows Phone 7, MVVM and TDD (Part 4 – Loading…)
By Peter Daukintis I decided to explore the Service Locator pattern to implement handling of the busy indicator. This involves considering the busy indicator as a service which can be called upon by the view model. Again it is implemented…
Windows Phone 7, MVVM and TDD (Part 3 – LoginCommand)
by Peter Daukintis Now, to support the login functionality I will add a password property in exactly the same way (test first) as the username text property from part 2 (http://babaandthepigman.spaces.live.com/blog/cns!4F1B7368284539E5!237.entry). Also I will supplement the tests with tests to…