Example 2: Change the Order of the Layout
By setting the RepeatDirection property to Vertical, we can take the same data and change the order.
In both examples, the images are ordered by their subject's name, in ascending order. In the first example, the records are laid out from left to right then top to bottom like so:
Bean | Carrot | Fig |
Gourd | Lily | Onion |
Pomegranate | Strawberry | Wine |
Now, in this example, the layout is top to bottom and then left to right, like so:
Bean | Gourd | Pomegranate |
Carrot | Lily | Strawberry |
Fig | Onion | Wine |