is there a way to uncheck all buttons at toolstripmenuitem
without doing it separately for each button like this

toolStripMenuItem7.Checked = false;

?

Recommended Answers

All 2 Replies

Yes, there is

foreach (ToolStripMenuItem item in menuStrip1.Items)
{
                item.Checked = false;
}

great !
thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.