I am trying to create rectangles and the number of rectangles is depend on data passed from database. for example, if number = 5, the program will generate 5 rectangles. Also, these rectangles must be able to follow my rectangle property settings, like height, width,color...put them in one line at the end.
is there a way to do that?
I am using WPF and C#.
Thank you.