Feed on
Posts
Comments

Tag Archive 'Data Binding'

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 »

A tutorial is now available on Code Project, so check the article for a detailed overview. And please leave your rating if you like the control http://www.codeproject.com/KB/WPF/versatile_treeview.aspx
 
Update: The latest version is currently only available through the download link below. I’ll update the CodeProject article once the current filtering mechanism has been rewritten:
Download: wpf-treeview.zip […]

Read Full Post »

Explicitly update binding sources

In WPF data binding scenarios, the binding source is usually updated implicitly - if you, for example, edit the text of a bound TextBox control, the underlying binding source is updated a soon as the control loses focus.
This is something you might want to prevent sometimes - a common scenario is a model dialog that […]

Read Full Post »