I’m new to C# and WPF format. In my program, I have an array of strings with text, and I want to create a button in the canvas for each string in the array. I’ve used flex, and in that i can use the addChild command to put something in something else, but I haven’t figured out how to do it in WPF yet. Any help would be appreciated, thanks.
Share
I hope this can get you started (untested!):
A more advanced technique would let you sync the UI to the contents of your array.
I highly recommend the book “WPF Unleashed” to learn WPF. http://www.adamnathan.net/wpf/