ToolStripMenuItem not closing when a child ToolStripMenuItem is Clicked in a C# WinForm

Posted by Poco on Stack Overflow See other posts from Stack Overflow or by Poco
Published on 2010-02-19T13:40:35Z Indexed on 2010/03/20 13:31 UTC
Read the original article Hit count: 329

Filed under:
|

Is there a way to have a ToolStripMenuItem not closing when I click a child control (in its DropDrowItems Collection)?

In my case, I have some ToolStripMenuItems that work as a check box. Actually, I implemented a radio behavior in some ToolStripMenuItems using their Check property. But I don't want the menu closing when I click any of them, because they aren't an action, they represent just options in the menu item.

Is that possible?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms