The Panel view item is a container that controls the layout of its child items, such as whether child items are displayed in a horizontal or vertical flow. The panel itself is not visible.
The following example shows a panel that displays text items in a vertical layout. For more information about layout options, see Creating a Layout.
<Content> <Panel> <Layout > <FlowLayout Orientation="Vertical" Spacing="10,10" ItemAlignment="Center" /> </Layout> <Children> <Text Content="This is an example" Color="White" /> <Text Content="of a panel with" Color="YellowGreen" /> <Text Content="a vertical layout" Color="Aquamarine" /> </Children> </Panel> </Content>
- View Items – Panel > Panel