如何设置项目之间的空间在检查列表框? [英] How to set space between items in a checked list box?

查看:124
本文介绍了如何设置项目之间的空间在检查列表框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用C#Windows窗体应用程序。 ?我怎样才能在项目之间设置一个空间的选中列表框中

I'm developing a windows form application using c#. How can I set a space between items in a checked list box?

推荐答案

您不能,增加字体大小是你得到。不完全是这是适用于触摸屏的控制。与ListBox.DrawMode和ControlPaint.DrawCheckBox您可以重新实现它()。

You can't, increasing the font size is all you got. Not exactly a control that's suitable for a touch screen. You can re-implement it with ListBox.DrawMode and ControlPaint.DrawCheckBox().

在这里更好的选择与View =瓷砖一个ListView,容易与您的拇指击时,你的瓷砖不够大。不能使用ListView.CheckBoxes了,使用图标是一个不错的选择。还可以自动将用户的照顾只能选择一个项目。

The better selection here is a ListView with View = Tile, easy to hit with your thumb when you make the tile big enough. You can't use ListView.CheckBoxes anymore, using an icon is a good choice. Also automatically takes care of the user only selecting one item.

这篇关于如何设置项目之间的空间在检查列表框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆