Http://blogs.claritycon.com/blog/2008/11/building-a-column-major-uniformgrid-in-wpf/
By default, uniformgrid displays it's children as follows:
123
456
789
I want to be as follows:
147
258
369
----------------------------------------------------
1:<Uniformgrid Rows= "2" Columns= "4">
2:<Uniformgrid. layouttransform>
3:<Transformgroup>
4:<Rotatetransform Angle= "90"/>
5:<Scaletransform Scalex= "-1"/>
6:</Transformgroup>
7:</Uniformgrid. layouttransform>
8:<Button Background= "White" Content= "1"/>
9:<Button Background= "Red" Content= "2" Foreground= "White"/>
10:<Button Background= "Orange" Content= "3"/>
11:<Button Background= "Yellow" Content= "4"/>
12:<Button Background= "Green" Content= "5" Foreground= "White"/>
13:<Button Background= "Blue" Content= "6" Foreground= "White"/>
14:<Button Background= "Violet" Content= "7"/>
15:<Button Background= "Black" Content= "8" Foreground= "White"/>
16:</Uniformgrid>
And
1:<Style Targettype= "Button">
2:<Setter Property= "Layouttransform">
3:<Setter. Value>
4:<Transformgroup>
5:<Rotatetransform Angle= "-90"/>
6:<Scaletransform Scaley= "-1"/>
7:</Transformgroup>
8:</Setter. Value>
9:</Setter>
10:</Style>