Control.SetVisibleCore(Boolean) Method
Definition
Sets the control to the specified visible state.
protected:
virtual void SetVisibleCore(bool value);
protected virtual void SetVisibleCore (bool value);
abstract member SetVisibleCore : bool -> unit
override this.SetVisibleCore : bool -> unit
Protected Overridable Sub SetVisibleCore (value As Boolean)
Parameters
- value
- Boolean
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(Boolean) in a derived class, be sure to call the base class's SetVisibleCore(Boolean) method to force the visibility of the control to change.