ContextMenuStrip大小的问题 [英] Problem with ContextMenuStrip size
本文介绍了ContextMenuStrip大小的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个ContextMenuStrip,我在TreeView控件中用于TreeNodes。该菜单有两个项目 - 一个常规菜单项和一个ToolStripDropDown:
I have a ContextMenuStrip that I use for TreeNodes in a TreeView control. The menu has two items -- one regular menu item, and a ToolStripDropDown:
Code Snippet
推荐答案
没有人见过这个问题?
为了总结没有大型代码示例的问题 - 在TreeView中与TreeNodes一起使用时,ContextMenuStrip没有正确调整大小。它通常打开得太小。
To summarize the problem without the large code sample -- a ContextMenuStrip is not sizing properly when used with TreeNodes in a TreeView. It usually opens too small.
这篇关于ContextMenuStrip大小的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文