So as I was scouring the web for the best way to access a parent data context from within an ItemsControl Item Template. I found this fantastic cheat sheet for WPF binding. Of course it didn’t have exactly what I was looking for but it is a great reference. <Button Content="Move Up" Command="{Binding RelativeSource={RelativeSource FindAncestor, … Continue reading WPF Data Binding Cheat Sheet
Month: February 2009
Google Earth…sneaking in Chrome
So I saw a new version of Google Earth was released when I went to Google maps tonight to find a restaurant and when I went to download it a Google Updater program started and began downloading Chrome and Google Earth. I never was prompted whether I wanted Chrome or not it just seemed to … Continue reading Google Earth…sneaking in Chrome
Silverlight: United States Map ListBox
Recently, one a Silverlight POC, my team built a Map Area Control. This control constructs a zoom-able, pan-able vector map of geo-political territories. The particular domain we used was the United States. We setup an XML Data File that contains the rendering instructions for each state such as X, Y, Width, Height and Path, then … Continue reading Silverlight: United States Map ListBox