title: How can I create Rectangles in WPF dynamically?
body: <p>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.</p>
  
  <p>Is there a way to do that?</p>
  
  <p>I am using WPF and C#. </p>
  
  <p>Thank you.</p>