How to set ItemsSource?
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-05-05T23:28:57Z
Indexed on
2010/05/05
23:38 UTC
Read the original article
Hit count: 230
wpf
|visual-studio-2010
This dialog makes no sense to me

And I'm having trouble finding good tutorials on it. Most of the examples aren't detailed enough, or do stuff via code, but I'd like to take advantage of the IDE as much as possible.
Whats the difference between ItemsSource and DataContext?
I'd like to bind it to just a List for starters. I don't need SQL or databases or anything fancy. Where would I declare my list? In MainWindow.xaml.cs? How do I get it to appear in that dialog?
© Stack Overflow or respective owner