Let’s say you have a combobox and a textbox.
The combo box contains a list of items and I would want to bind the textbox “text” property to the current combobox selection.
In WPF this could be done but I’ve not found a way in WinForms.
Is there a way or is WinForms too limited?
Notes:
- I know I could use WPF instead, but the project is already in WinForms and rewriting it is out of the question.
- I’m asking about a combobox and textbox but this could be any other combinations.
- I’m looking for a way to do it from design time it at all possible.
Yes you can bind the text box to the item (
Text) selected in a combo box: