RepeatDirection Property for CheckedListBox C#

心已入冬 提交于 2019-12-01 18:47:18

Short answer: You can't. ListBox as implemented in the Windows Forms does not support repeating horizontally. You aren't using the web version of the control, so you can't use the web version's options.

If you still need to display your options horizontally you will need to use a different control. Depending on your requirements, a DataGridView should be able to do what you are wanting, with some tweaking.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!