Binding ListBox to List (Collection) in XAML
- by david2tm
Hello,
I'm learning WPF, so I'm kind of n00b in this.
I saw some examples about how to do what I want to do, but nothing exactly...
The question: I want to bind List to ListBox. I want to do it in XAML, w/o coding in code behind. How can I achieve that?
Right now I do it that way:
<!-- XAML -->
<ListBox x:Name="FileList">
…