I am using a SmartMeneBar, to which I have added a CheckMenuItem. I set the Checked property to “true” in the Properties pane at design time.
Why doesn’t this code toggle the display of the checkmark for this menu item?
private void mnuTOC_Click(object sender, Xceed.SmartUI.SmartItemClickEventArgs e)
{
mnuTOC.Checked = !mnuTOC.Checked;
}
Whenever I view the menu item, it has the checkmark (as set in design view). When I debug the event fires, however the test is always “false” on event entry, and “true” on exit.
Imported from legacy forums. Posted by Zanderxo (had 2175 views)