This is an overview of the most common usage of ScrollView. For more information about the available properties, methods, or events, head over to the complete API documentation for ScrollView.
<ScrollView>
is a UI component that shows a scrollable content area. Content can be scrolled vertically or horizontally.
<ScrollView orientation="horizontal">
<StackLayout orientation="horizontal">
<Label text="this" />
<Label text="text" />
<Label text="scrolls" />
<Label text="horizontally" />
<Label text="if necessary" />
</StackLayout>
</ScrollView>
name | type | description |
---|---|---|
orientation | String | Gets or sets the direction in which the content can be scrolled: horizontal or vertical .Default value: vertical . |
scrollBarIndicatorVisible | Boolean | Specifies if the scrollbar is visible. Default value: true . |
Name | Description |
---|---|
scroll | Emitted when a scroll event occurs. |
Android | iOS |
---|---|
android.view | UIScrollView |