Make menu items behave like check boxes in C#

Making a menu item behave like a check box is a lot easier than making a set of items behave like a radio button group (see Make the items in a menu behave as a radio button group in C#). Simply set the menu item's CheckOnClick property to true and it will automatically toggle. All you need to do is catch its Click event to take the appropriate action.

   

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.