Let’s walk through an example of using d:DesignInstance for improving the design-time experience in Blend. For background, see my last post on the topic. I’m going to be using the ContactManager sample from the Caliburn trunk. You can access the source of it here under: \trunk\samples\LOB Samples\Silverlight...
I’ve gleaned most of what I have learned about this topic from Unni , Karl , and Jack . I recommend checking out their posts for additional information. d:DataContext The d:DataContext attribute allows you to establish a data context that is only for design time. You can use it the same way (more or...
In case you are not familiar with MIX , it is a conference from Microsoft focusing on the collaboration of design and development. Admittedly, the sessions tend to favor the developer, but there is always excellent design and UX content. There was an open call for presentations this year and the community...
Posted to
Christopher Bennage
by
Christopher Bennage
on
01-08-2010
Filed under:
Filed under: WPF, Game Development, fun, XNA, Software Architecture, web, Silverlight, MVC, Presentations, UI, UI Patterns, XAML, UX, Caliburn, viewmodel, mvvm
Working on the ÜberProf has presented some interesting scenarios. As you might have picked up from Ayende’s blog, the vast majority of the source is shared between all the products. This is especially true in the UI layer. Now, Ayende wanted to have a distinct color scheme for each application. That...
Justin Angel (who is undoubtedly a Silverlight Rock Star) decided to stir things up a bit on Twitter the other night. I was compelled to echo Ward Bell’s response that value converters can play legitimate role in the UI. Justin asked me to defend my position; a reasonable request. Now, I know...
This one is easy on the brain. Some quick WPF lovin’ 101. I need to display the current date, and have it formatted like this: Friday, March 13, 2009 In my opinion, this is purely a matter for the view and so I’m handling it entirely in the xaml. Here’s the markup: <TextBlock Text="{Binding Source...
I was inspired to get off my duff and blog today by a tweet from Scott Hanselman . I didn’t really dig into the context of his tweet, but it was about TDD and WPF. In case you haven’t figured it out, I’m a big fan of WPF and TDD. Luckily, I’ve had the opportunity to work on a number of varied WPF projects...
We've had a number of rendering issues with NH Prof. I've been embarrassed about how frequently I have asked users to update their video drivers. It’s not surprising to encounter driver issues occasionally with WPF. It is built on top of DirectX you know. (In fact, all my WPF apps break horribly...