Windows Forms MenuStrip Border Color

霸气de小男生 提交于 2020-04-30 07:38:45

问题


I am making app in Windows Forms. I've added MenuStrip and changed it colors using ToolStripProfessionalRenderer. The problem is that whenever I am trying to change dropdown border color it only changes the outside border ( image below ).

How can I change the remaining white border that still is visible inside? Or how to just disable border there?


回答1:


All you have to do is to override properties that you need to set the color. This article will help you to do that.

And this is another link about how to implement your class

HK



来源:https://stackoverflow.com/questions/37528697/windows-forms-menustrip-border-color

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