Label.SetVisibleCore(Boolean) 方法

定义

Label 设置为指定的可见状态。

protected override void SetVisibleCore (bool value);

参数

value
Boolean

注解

通常会重写此方法以更改控件的可见性行为。

继承者说明

SetVisibleCore(Boolean) 在派生类中重写时,请确保调用基类的SetVisibleCore方法来强制更改控件的可见性。

适用于