共用方式為


TrackBar.SetVisibleCore(Boolean) Method

Definition

Sets the TrackBar to the specified visible state.

protected:
 override void SetVisibleCore(bool value);
protected override void SetVisibleCore (bool value);
override this.SetVisibleCore : bool -> unit
Protected Overrides 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 method to force the visibility of the control to change.

Applies to