WPF binding backcode objects to UI
Can anyone explain me how to bind collection for example String[] object
to a WPF ListBox (in xaml) and how it works cuz i am sick after reading
tutorials on MSDN and other sites i still have no idea how to do it. Maybe
i am just an idiot....
Let's assume that i have in MainWindow.xaml.cs
String[] bigBadWolf = {"1","2","3","4","5"};
i wanna bigBadWolf to be bound with ListBox in xaml (I wanna each member
of bigBadWolf to be displayed in ListBox verticaly (something like
playlist)).
No comments:
Post a Comment