StackPanel objects allow you to manage the layout of your page. The constructor argument is simply a vector of content elements. The default orientation is Vertical: set the Horizontal property to 1 to get a horizontal panel.

The following stack panels contain a Select, some text, and a Button.

Vertical Stack Panel

This is some text

Horizontal Stack Panel

The same controls, arranged horizontally.

This is some text