Scroll View#

class ScrollView#

A view onto a panel that is larger than the space available for it, with scroll bars to move around it. Added to a Canvas or a Panel.

Note

Add the elements to ScrollView.Content, not to the scroll view itself. Giving the content a layout and setting its size fitter to the preferred size is the simplest way to have it grow to hold what is put in it.

Base class: Object

Inherited Members

Panel Content { get; }#

The panel that is scrolled, which the elements to show are added to.

Game Scenes:

All

bool Horizontal { get; set; }#

Whether the view can be scrolled from side to side.

Game Scenes:

All

bool Vertical { get; set; }#

Whether the view can be scrolled up and down.

Game Scenes:

All