My WPF application will be extracting usernames from a database and I want to display a button with each persons username on it on a WPF page.
I don't know the number of users before hand so I want to change the size and position of the buttons depending on the number to display.
For example:
How can I do this using XAML??
WPF Uniform grid control is suitable for your requirement. It will come with row and columns. Grid will take care of automatic arrangement of elements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With