Sets the System.Windows.Forms.ToolStripItem to the specified visible state.
- visible
- true to make the System.Windows.Forms.ToolStripItem visible; otherwise, false.
You typically override this method to change the visibility behavior of the control.
When overriding ToolStripItem.SetVisibleCore(bool) in a derived class, be sure to call the base class's ToolStripItem.SetVisibleCore(bool) method to force the visibility of the control to change.