Form.AdjustFormScrollbars(Boolean) 方法

定义

根据当前控件位置和当前所选控件调整容器中的滚动条。Adjusts the scroll bars on the container based on the current control positions and the control currently selected.

protected:
 override void AdjustFormScrollbars(bool displayScrollbars);
protected override void AdjustFormScrollbars (bool displayScrollbars);
override this.AdjustFormScrollbars : bool -> unit
Protected Overrides Sub AdjustFormScrollbars (displayScrollbars As Boolean)

参数

displayScrollbars
Boolean

如果显示滚动条,则为 true;否则为 falsetrue to show the scroll bars; otherwise, false.

适用于