列表框选择被斑点矩形包围 [英] List Box Selection surrounded by spotted Rectangle

查看:54
本文介绍了列表框选择被斑点矩形包围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当鼠标在列表框中选择一个项目时,该项目将被斑点矩形包围,即使在将选择模式设置为无"之后,也可以删除该复选框! 我正在使用C#Windows窗体而不是WPF
像这样

When the mouse select an item in a listbox the item is surrounded by spotted rectangle ,even after making Selection Mode "None" can I remove this box !!!
I am working with C# windows forms not WPF
like this

...............................................
.  I am a student in biology lab          -   .
...............................................

推荐答案

您最有可能谈论的是列表框选择周围的虚线.关于SO的讨论讨论了如何省略具有虚线框的边框:

WPF:在样式列表框中删除聚焦项周围的虚线边框 [ ^ ].请参阅Jobi Joys的答案.

问候,

—曼弗雷德(Manfred)
What you are most probably talking about is the dotted line around the selection of a listbox. There is a discussion on SO that talks about how it can be achieved to omit having that dotted border:

WPF: Remove dotted border around focused item in styled listbox[^]. Refer to Jobi Joys answer.

Regards,

— Manfred


这篇关于列表框选择被斑点矩形包围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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