Control.SetVisibleCore(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.