开发者

Is there a way of hiding a Silverlight Grid Row at runtime?

Does anyone have an idea on how to hide a grid row 开发者_高级运维at runtime?


You cannot set its Visibility, the only way to do it is to set its height to 0. Assuming the grid's name is LayoutRoot and you want to hide the first row:

LayoutRoot.RowDefinitions[0].Height = new GridLength(0);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜