Databinding

jwh

Well-known member
Joined
Aug 18, 2006
Messages
155
Programming Experience
3-5
What are the thought of you guys on the databinding in wpf?

Do you prefer it or the winforms databinding that we're more used to?


I tend to prefer the winforms way at present, however the databinding of properties throughout the hierarchy of the xaml document certainly does interest me...
 
Why I love WPF Databinding

Admittedly, I am biased...but I love WPF databinding.
It allows me to focus on my data, instead of my UI.

My favorite feature is DataTemplate (similar to ASP:Repeater) which allows you to create a rich representation of data.
For an example, go look at the image on the home page of XamlT.com. Zoom into the large version of that image and see how I used a datatemplate to represent each of the Types in that image.

Databinding Overview from MSDN

Thanks, Rob Relyea
Program Manager, WPF Team
robrelyea.com/wpf
 
I think the main problem is now the UI integration of databinding with WPF.

Unfortunately, we don't all use XML as a data source, which is where I think there has been an oversight, thinking that everybody is desperate to jump on the the web services / WCF train.

I still have not even found a way of databinding to my ADO.net data sources, whether using NovemberCTP or Expression Blend.

I do hope that the UI support is better in the upcoming Orcas, otherwise I think we will have hybrid WPF / Winforms apps around for quite some time.
 
Back
Top