Data Flow in a WPF BindingExpression
I was writing up some posts on how ValidationRules work, and of course, I ended up confusing myself, because data binding can get confusing once you start throwing in IValueConverters, ValidationRules,...
View ArticleBindable Validation Errors
Wouldn’t it be great if you could do this in XAML: 1 2 <TextBox Text="{Binding Path=IngredientName}" Validation.Error="{Binding Path=IngredientNameError}"/> Turns out you can: 1 2 <TextBox...
View ArticleFinding all of the bindings on an object in WPF
Disclaimer: Don’t do it. Whatever brought you here, chances are you’re doing something wrong, because you’re most likely about to do something very gnarly that you shouldn’t be doing with your view and...
View ArticleTwelve Ways to Improve WPF Performance
There is no shortage of information out there on how to speed up the performance of WPF applications, but too often the focus is on the weird stuff instead of the simpler issues. I’m not going to talk...
View Article