I'm about to develop my first WPF.
I want to get a list of buttons. The buttons get generated by ONE "Add"-button at the top of the WPF.
So when i press "Add" a new buttons comes up in the list.
First how i create the list? With a ListBox or a StackPanel? I think for the look a StackPanel would be nice but im not sure about how to add buttons there ...
And the other question: Normally, when i generate an object (i come from Java) each object gets a unique instance. But how i give every button a unique name?
I hope you can help me