ToolStripItem.SetVisibleCore Method (Boolean)

 

Sets the ToolStripItem to the specified visible state.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual void SetVisibleCore(
	bool visible
)

Parameters

visible
Type: System.Boolean

true to make the ToolStripItem visible; otherwise, false.

You typically override this method to change the visibility behavior of the control.

System_CAPS_noteNote

When overriding SetVisibleCore in a derived class, be sure to call the base class's SetVisibleCore method to force the visibility of the control to change.

.NET Framework
Available since 2.0
Return to top
Show: