How do I bind a Listview SelectedItem to a Textbox using the TwoWay mode?
Posted
by
Nick U
on Stack Overflow
See other posts from Stack Overflow
or by Nick U
Published on 2010-12-25T03:54:33Z
Indexed on
2010/12/25
4:54 UTC
Read the original article
Hit count: 303
I am very new to WPF and testing some things that I would like to include in an application that I will be working on. I have a 2 row ListView (bound to a textbox) with the names Scott Guthrie and Jon Skeet in it. I am trying to select "Scott Guthrie" in the ListView and have it populate the TextBox. I want to be able to edit the text and tab off and have the ListView updated.
Edit:I removed the code since that really didn't add anything to the question.
© Stack Overflow or respective owner