SetVisibleCore Method
Collapse the table of content
Expand the table of content

Control.SetVisibleCore Method (Boolean)


Sets the control to the specified visible state.

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

protected virtual void SetVisibleCore(
	bool value


Type: System.Boolean

true to make the control visible; otherwise, false.

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

Notes to Inheritors:

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 1.1
Return to top
© 2015 Microsoft