Parsing the Visual Tree with LINQ

I noticed a project on CodePlex that provides a “JQuery-like syntax” for parsing XAML. It looked interesting, but then I wondered why it would be needed when we have such powerful features available to us in the existing runtime. Silverlight provides a powerful VisualTreeHelper for iterating elements in the visual tree. It also provides a…

Tech Valley .Net User Group Presentation Materials

I have uploaded the content from my Introduction to Windows Phone 7 Development with Silverlight talk at the Tech Valley .Net User Group meeting last night in Albany. The content can be found here, and includes: Presentation slides, which include the reference links I mentioned during the talk. The sample code, broken into 2 projects.…

Silverlight for Windows Phone Programming Tip #5

Quick: can you spot what’s wrong with this XAML?   <ProgressBar x:Name="Progress" Visibility="Collapsed" IsIndeterminate="True" />   If you answered that setting IsIndeterminant to true on a ProgressBar control in Silverlight for Windows Phone debilitates performance, go to the head of the class! If not, read on. If you use Silverlight for Windows Phone’s networking stack…

Silverlight for Windows Phone Programming Tip – Be Sure to Scope Your SIP

Scope Your SIP – sounds painful, doesn’t it?  Adding on to Jeff‘s series concerning WP7 Silverlight development tips, I figured it worthwhile to add another one.  The SIP is the Software Input Panel – AKA the Phone’s onscreen keyboard.  One of the handy features of the SIP is the ability to customize it to fit…

Real-World Tombstoning in Silverlight for Windows Phone, Part 4

Tombstoning is one of the greatest challenges in writing applications for Windows phones, which is why I decided to devote a series of blog posts to it. In Part 1 of this series, we built a photo-extras application that allows the user to perform simple image-editing chores on photos. In Part 2, we added tombstoning…

Real-World Tombstoning in Silverlight for Windows Phone, Part 3

In Part 2 of this series, we made progress toward including tombstoning support in a photo-extras application by adding OnNavigatedFrom and OnNavigatedTo methods that use a combination of page state and isolated storage to save the state of our app before it’s deactivated and restore that state following reactivation. But we also determined that work…

Real-World Tombstoning in Silverlight for Windows Phone, Part 2

In Part 1 of this series, we built a basic photo-extras application that allows a user to load photos from the phone’s Pictures library and convert the photos to grayscale. We also learned that in the absence of tombstoning support, the app doesn’t work very well. Specifically, if the user clicks the Start button to…

The New Phone Tools [are] Here! The New Phone Tools [are] Here!

With all due respect to Steve Martin’s hilarious portrayal of Navin R. Johnson and his quest for “his special purpose” in 1979’s The Jerk.  Tonight Microsoft released the Windows Phone Developer Tools January 2011 Update, which can be downloaded here.  In addition to the content in the new tools, there’s also some interesting other news…

Real-World Tombstoning in Silverlight for Windows Phone, Part 1

One of the challenges that confronts every Windows phone developer is learning about tombstoning. As I briefly stated in an earlier article, tombstoning is Windows Phone 7’s way of allowing an application to restore itself to the same state it was in before it was interrupted. Although the operating system itself can run several applications…

ASUS Eee Slate EP121 Review

Looking over the offerings at CES 2011, the ASUS Eee Slate EP121 caught my eye as I had been looking for a replacement slate computer since my beloved Motion M1400 found a new home with my niece. I ordered one as soon as it was available and I got it arrived this week. Tablet computers…

A Pivot-Style Data Grid without the DataGrid

It is fairly common to come across the need for a grid that has dynamic columns and I’m surprised that an open source control hasn’t yet been implemented to provide this (or maybe it has … if so, please share in the comments). I’m not a fan of the DataGrid because it feels very heavy…

Silverlight for Windows Phone Programming Tip #3

Application bars play an important role in the UI of many phone applications. An application bar can contain up to four buttons (and five menu items) giving the user quick and easy access to the app’s most commonly used features: Each button is an instance of ApplicationBarIconButton, and the ApplicationBarIconButton class exposes a property named…