This documentation is archived and is not being maintained.

Control.SetVisibleCore Method

Sets the control to the specified visible state.

[Visual Basic]
Protected Overridable Sub SetVisibleCore( _
   ByVal value As Boolean _
protected virtual void SetVisibleCore(
 bool value
protected: virtual void SetVisibleCore(
 bool value
protected function SetVisibleCore(
   value : 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Visible