ScrollableControl.AdjustFormScrollbars(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.
Adjusts the scroll bars on the container based on the current control positions and the control currently selected.
protected:
virtual void AdjustFormScrollbars(bool displayScrollbars);
protected virtual void AdjustFormScrollbars (bool displayScrollbars);
abstract member AdjustFormScrollbars : bool -> unit
override this.AdjustFormScrollbars : bool -> unit
Protected Overridable Sub AdjustFormScrollbars (displayScrollbars As Boolean)
Parameters
- displayScrollbars
- Boolean
true
to show the scroll bars; otherwise, false
.
Remarks
When required, the AdjustFormScrollbars method lays out the client area, including resizing the display area as required to accommodate the scroll bars.
Applies to
See also
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.