Posted in WPF on Apr 16th, 2008
Already tried to extend the Binding or BindingBase classes in order to write your own custom bindings? And failed because BindingBase.ProvideValue is sealed? Me too…
The result is a MarkupExtension that works around the issue that you cannot properly extend the Binding class. Basically, it allows you to write binding expressions with the usual syntax without […]
Read Full Post »
Posted in WPF on Apr 16th, 2008
I’m currently working on a custom markup extension and came over a pretty nasty issue. Here’s the working XAML of a dummy extension:
<TextBox Name=”txtCity”
Foreground=”{local:ColorExtension Color=Red}”
/>
This works like a charm - the fore color is set to red as expected. However - as soon as I try to set the Color property through […]
Read Full Post »
Posted in Open Source, WPF TreeView on Apr 7th, 2008
I’ve posted an update for my WPF TreeView which contains a bugfix and two new features:
The root item collection is now monitored for changes, and the tree updates itself automatically. This behaviour, however, can be controlled through the ObserveRootItems dependency property.
Built-in filtering support through a strongly typed predicate. I’m not completely […]
Read Full Post »