开发者

ListView control rendering issue with Groups, CheckBoxes and View mode SmallIcon

Microsoft MSDN site has next remark: "Any groups assigned to a ListView control appear whenever the ListView.View property is set to a value other than View.List."

My problem is that i like to have View set to SmallIcon.

In this mode ListView control is shifted left, and CheckBoxes are covered by left edge

How to solve this issue, or at least how is possible to shift rendering of control to the right. My OS is Windows XP Service Pack 3.

It looks like that ListView items with Groups and CheckBoxes shows correctly only when View set to Details.

ListView control rendering issue with Groups, CheckBoxes and View mode SmallIcon

Updated: Setting ListViewGroup.Header property will resets scroll position to 0. Is there are any other workaround except saving scroll position before assignment and re开发者_StackOverflow中文版storing it afterwards.


try the following open source project to enhance the WinForm ListView. http://objectlistview.sourceforge.net/cs/index.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜