共用方式為


HScrollBar.SetVisibleCore(Boolean) Method

Definition

Sets the HScrollBar 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

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