Tim Murphy's .NET Software Architecture Blog

Silverlight

There are 6 entries for the tag Silverlight

Review: ComponentOne Studio for Entity Framework

While I have always been a fan of libraries that improve coding efficiency and reduce code redundancy I have mostly been using ones that were in the public domain. As part of the Geeks With Blogs Influencers program a got my hands on ComponentOne’s Studio for Entity Framework. Below are my thought after working with the product for several weeks. My coding preference has always been maintainable code that is reusable across an enterprises protfolio. Because of this my focus in reviewing this product ......

Styling Windows Phone Silverlight Applications

If you have not developed with styles in Silverlight/XAML then it can be challenging and resources can be sparse depending on how deep you get. One thing that you need to understand is what level you can apply styles and how much they can cascade. What I am finding is that this doesn’t go to the level that we are used to in HTML and CSS. While styles can be defined at a page level if you want to share styles throughout your application they should be defined in the App.xaml file. This is of course ......

Windows Phone Silverlight Poor Man's Double-Tap

I have seen a lot of articles about gestures but they require third party libraries or complex coding approaches. What I am going to present here isn’t strictly elegant or necessarily the best approach, but this is the way we would catch this type of event when we were still dealing with message loops. For the app that I have been working on I need to take action on the double-tap of a list item. The first question you have to ask your self is what a double-tap really is. It is in simplest terms ......

Practical Window Phone 7 ListBox Usage

Almost every example of a Silverlight ListBox that I have found merely shows how to get data bound to it, not what to do once you get it there. What good is a ListBox that you can’t get a reference back from? The quickest practical way is to hold your original datasource and use the index of the selected item as you key back into your data. It isn’t pretty and you wouldn’t want to take this approach with large amounts of data, but then again a mobile device isn’t meant to display large amounts of ......

Windows Phone 7 Key Silverlight Page Events

Often times you want to you need to update a page when you enter it or save information automatically when you leave it. When you look through the events list on the property page you won’t find an event that occurs at those points in the page lifecycle. Intellisense is your friend in this case. The events OnNavigateTo and OnNavigateFrom can be overridden to give your application the required functionality. Below is a sample signature for OnNavigateTo. protected override void OnNavigatedTo(System.Window... ......

Beginning Windows Phone 7 Development

Windows Phone 7 development is an exciting topic. I have been exploring WP7 development for a little while now and I figured I would post some of the basic concepts that might be helpful to beginners. So here they are in no particular order. Panorama control I kept seeing references to the Panorama Control. It seems that this was a control that existed separately during the beta for WP7. In the final release this is now incorporated into a page type, so you won’t see the control in the toolbox. So ......