[英]Windows Phone Longlistselector ItemsSource Performance
[英]Styling a LongListSelector in Windows Phone apps
如何設置LongListSelector的樣式,如下所示?
我已經嘗試過對它進行樣式設置,就像您通常在XAML(Windows應用商店)應用程序或桌面應用程序中對ListView進行樣式設置一樣,但是顯然它與眾不同,因此無法正常工作。 我也花了一段時間搜索,但從未見過LongListSelector這樣的東西。 但是沒有其他類型的列表。
我認為您正在尋找WrapPanel
有關更多信息, 請訪問http://www.geekchamp.com/articles/wp7-wrappanel-in-depth
我知道了。
您需要添加LayoutMode="Grid"
和GridCellSize="75, 75"
LayoutMode="Grid"
GridCellSize="75, 75"
:
<phone:LongListSelector LayoutMode="Grid" GridCellSize="170, 150"/>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.