DCSIMG
March 2008 - Posts - Essential WPF

March 2008 - Posts

9
Comments

WPF Panel & Data Binding by Tomer Shamam

WPF Data Binding on behalf of ItemsControl provides an elegant solution for collection of data types. All you have to do is simple as: < ListBox ItemsSource ="{ Binding Path =Items}" ... /> But what if you want to bind the same collection to a Panel, let say UniformGrid , WrapPanel or other custom panel? Trying to bind the Panel.Children collection using the same technique above, results in a big ERROR! And the reason is: Panel.Children is not designed to be bind, hence Children is...
2
Comments

Materials from my WPF lectures in (9,10)-Mar-2008 by Tomer Shamam

Thank you to those who participated in my WPF lecture in 9-Mar-2008 and 10-Mar-2008. You can download the lecture materials from here . Other demos can be found in the links bellow: WPF Feature Montage Family Show You are invited to read my blog, and/or leave comments about the lecture in this post. Regards, Tomer
3
Comments

Data Binding for Pure CLR Objects by Tomer Shamam

WPF has a great support for handling data: Data Binding. Unfortunately, one of the elements you bind to (the target) must have a DependencyProperty (known as the target-property). What if you don't have a dependency property to bind to, or you just want to bind two CLR types? For example let say that you wrote an application for simulating a car. You may have a Car and a Speedometer classes. Let say that a car handles its own speed, hence the car has its own speed state exposed by a Speed property...
Powered by Community Server (Commercial Edition), by Telligent Systems