Export (0) Print
Expand All
Expand Minimize

Control.SetVisibleCore Method

Sets the control to the specified visible state.

[Visual Basic]
Protected Overridable Sub SetVisibleCore( _
   ByVal value As Boolean _
)
[C#]
protected virtual void SetVisibleCore(
 bool value
);
[C++]
protected: virtual void SetVisibleCore(
 bool value
);
[JScript]
protected function SetVisibleCore(
   value : Boolean
);

Parameters

value
true to make the control visible; otherwise, false.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft