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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.