Version: 2022.3
LanguageEnglish
  • C#

ScrollViewMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Configurations of the ScrollView to influence the layout of its contents and how scrollbars appear. ScrollView.mode

The default is ScrollViewMode.Vertical.

For more information, refer to UXML element ScrollView.

Properties

Vertical Configure ScrollView for vertical scrolling.
Horizontal Configure ScrollView for horizontal scrolling.
VerticalAndHorizontal Configure ScrollView for vertical and horizontal scrolling.