In this lesson we take a short aside and learn about the design time experience in Visual Studio and learn how it is able to render sample data. This gives us insights into binding syntax, data collections, schemas and more.
I used to be able to just detect design-time in the page constructor and hook-up some view models with some fake data. This no longer seems to work; I set the DefaultViewModel but the IDEs still say that there's no DataContext set, but it works at runtime.
I take it something has changed from WP7, SL and WPF. How do we simply add fake values to TextBlock controls? There's no fallback value either.
P.S. I didn't know about the dark "Blue Thunder" (my name) VS theme until this series, so I'm pleased if I only learned that
@LukePuplett: Hi Luke, I'm sorry I don't have an answer for you here. I was not aware that anything changed, but I'm definitely not an authority on these matters. If I come across anything I posted it here. Sorry!
Nice work on the videos..Just sent out for a book on app development then found this site. I think I will be making my first app for the app store soon... Thanks oo and..P.S. any coupon codes for your site?
@Beau: Thanks Beau! Unfortunately I have no coupon codes or anything like that. There is a sale going on for our 10 years anniversary ... since it will be year 11 here in a few days, I would jump on that quickly. Best wishes!!!