How can I hide the resizing handles of a control in Windows Forms?

亡梦爱人 提交于 2019-11-29 11:04:45

You need to implement a custom designer (ControlDesigner) for your control and then override the SelectionRules property.

Useful reference:

Extending Design-Time Support

I think you would need to draw your own control and define the size in the class. I believe if you inherit a user control you'll always have the option to resize.

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