开发者

Horizontal orientation of DataGrid in Silverlight 4

I want to change the orientation of the datagrid to h开发者_如何学Goorizontal in Silverlight 4. In other words, 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?


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 it's 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜