0
A
回答
0
所以我想通過訪問ImageList.ImageSize
可以設置大小。確保您在將圖像列表附加到ObjectListView.GroupImageList
之前將其設置在圖像列表中。
例子:
ImageList imgList = new ImageList();
imgList.ImageSize = new Size(x, y);
//Add [key/img] to the list.
this.objectListView.GroupImageList = imgList;
出於某種原因,你不能設置objectListView.GroupImageList.ImageSize
直接,它不會顯示在所有的圖像。 我沒有足夠的經驗來理解爲什麼這是不可能的。
相關問題
- 1. Jquerymobile UI:如何更改列表視圖中的圖像大小
- 2. 如何更改列表視圖的現有圖像列表的圖像大小
- 3. 在列表視圖中更改圖標
- 4. 更改表格中圖像的大小
- 5. 在android中更改列表視圖的文字大小
- 6. r:dprint:表格更改的圖像大小
- 7. 如何在Wijmo5中更改圖表標題大小和顏色
- 8. 更改視圖幀大小
- 9. 更改視圖大小
- 10. 動態改變列表視圖大小和加載圖像
- 11. 如何更改列表視圖標題上的對齊方式
- 12. Bootstrap圖像更改大小
- 13. SSCollectionViewItem更改圖像大小
- 14. 更改CSS圖像大小
- 15. Gwt在ImageCell中更改圖像大小
- 16. 如何更改列表視圖中的字體和大小
- 17. Android:在運行時更改列表視圖的Textview大小
- 18. 更改FlatButton圖標大小
- 19. 在sactter3圖中更改標記大小
- 20. 更改列表視圖中的文本視圖大小運行時
- 21. Xamarin在列表視圖中調整圖像大小Image
- 22. 更改圖像時更改ImageView大小
- 23. Android,更改ImageView中的圖像大小
- 24. 根據視圖大小變化更改視圖元素大小
- 25. 更改圖像大小相對於ListView中的視圖Xamarin形式
- 26. 更改標題大小和滾動圖像
- 27. UIWebView:更改視圖標題
- 28. 如何粗體和更改圖表的字體大小標題
- 29. 帶圖像圖標的列表視圖
- 30. 以編程方式設置列表視圖的標題大小