I am working in a sales application with c # and I want to make it possible to filter by category in the window where the products are chosen to be sold, but that each category is a button and that the user can select the category he wants there, the thing is that the user can create as many categories as he wants and my query is if you can create buttons automatically based on the number of categories.
PS: I try to do something like This