Answer the question
In order to leave comments, you need to log in
How to correctly display a list in a ComboBox in WPF?
Greetings! There was a problem, I want to make 4 UserControl to perform similar but different tasks. I created two controls that have the same interface, created a list of these two controls, and I'm trying to connect this list to the ComboBox. And I can't understand anything. I did so,
and in Main I specified DataContext = this;
How to solve such a problem in a normal way? <ComboBox itemSource={"Binding myList"}/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question