View Deck Components

The view deck is a container component that displays its contents one at a time, according to the value of its Selected Index property. The following video loop shows a view deck in action.

The following figure illustrates how the value of the Selected Index property determines which child component is displayed.

For an example of configuring a view deck, watch the following tutorial video on YouTube.

To configure the size of the view deck to vary according to the size of the content being displayed, enable its autoSize property.

To control how the contents of the view deck is loaded, which affects memory consumption and rendering speed, set the view deck's creationPolicy property. Options are as follows: