WPF Binding a textbox to a property of all items in a generic list

Posted by muku on Stack Overflow See other posts from Stack Overflow or by muku
Published on 2010-12-23T14:39:37Z Indexed on 2010/12/23 14:54 UTC
Read the original article Hit count: 418

Filed under:
|
|

Hello guys,

What I want to do is simple. I have a generic list of objects. Let's say the object class contains a property named Height. What I want to do is bind a textbox's text in the UI with this list and when i change the value in the textbox then all objects in the list update their height value. I am new in WPF, I have studied the MVVM pattern, I can do simple data binding but i can't figure out how to do this :'( Thanks!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about binding