本文介绍了高度大于其 GridView 高度的 GridViewItem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有固定宽度和高度的 GridView.但我希望某些项目超过该固定高度以包含更多数据.1我不想增加 GridView 的高度 - 这会导致 GridView 下其他控件的触摸区域减少.

I have GridView with fixed width and height of items. But I want some items to exceed that fixed height to contain more data. 1I don't want to increase height of GridView - this will cause decreasing of the touch area of other controls that lie under GridView.

有什么解决办法吗?谢谢!

Is there any solution?Thank you!

概念 1

推荐答案

我知道您希望网格视图中的磁贴就像在开始屏幕中一样?如果是这样,那么这篇文章应该会有所帮助http://blogs.u2u.be/diederik/post/2012/03/07/Databinding-to-the-VariableSizedWrapGrid-in-Windows-8-Metro.aspx

I understand that you want variable sized tiles in your grid view just like in the start screen? If so then this article should helphttp://blogs.u2u.be/diederik/post/2012/03/07/Databinding-to-the-VariableSizedWrapGrid-in-Windows-8-Metro.aspx

这篇关于高度大于其 GridView 高度的 GridViewItem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 00:49
查看更多