Silverlight DataGrid RowHeight自动缩小 [英] Silverlight DataGrid RowHeight Auto Shrink

查看:73
本文介绍了Silverlight DataGrid RowHeight自动缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们使用Data Grid在Silverlight中减少或增加列宽时,是否可以通过其他任何方法使高度自动收缩

Is any alternative way is there to make Height Auto Shrink whenever we decrease or increase coloumn width in silverlight with Data Grid

推荐答案

hi 使用DataGridTemplate Column,其中使用Textblock作为Element并将TextBlock.Textwrap属性设置为wrap,然后它将起作用


问候
西拉子(Siraz)
hi use the DataGridTemplate Column in that use a Textblock as Element and make TextBlock.Textwrap property as wrap then it will Work


Regards
Siraz


这篇关于Silverlight DataGrid RowHeight自动缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆