Tutorial :Horizontal Orientation of DataGrid in Silverlight 4


I want to change the orientation of the datagrid to horizontal in silverlight 4. i.e. I want to display the headers on the left hand side and the values corresponding to it on right hand side.

how can I do it? Thanks.


The DataGrid does not support horizontal item scrolling.

One very mad idea would be to use the Toolkit's LayoutTransformer to rotate the whole grid by 90degrees then template all the headers and cells with a LayoutTransfomer to rotate their contents back. One issue (likely of many if its even possible) would be the scrollbar would appear on the top rather than the bottom. You might be able to sort that out with further templating.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »