Container control in Power Apps

Groups logically-related controls to create hierarchies.

Description

The container can hold a set of controls and has its own properties.

You can start with inserting a blank container. And then, customize it by adding controls to it, resizing it, moving it, hiding it, and making other changes. You can also start with a number of controls, select them and add using tree view.

Limitations

Properties

BorderColor – The color of a control's border.

BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.

BorderThickness – The thickness of a control's border.

Fill – The background color of a control.

Height – The distance between a control's top and bottom edges.

Width – The distance between a control's left and right edges.

Visible – Whether a control appears or is hidden.

X – The distance between the left edge of a control and the left edge of its parent container (screen, if no parent container).

Y – The distance between the top edge of a control and the top edge of the parent container (screen, if no parent container).

Frequently asked questions

What is the difference between a container and a group?

When editing an app, you can select controls and group them using Ctrl + G or the context menu. You can modify common properties of controls within the group. Groups are an aid for app making. They don't have properties of their own and don't affect the layout of the app.

In contrast, containers are actual controls with their own properties like Width and BorderColor. Containers affect app layout and help screen reader users understand the structure of the app.

While you can add any controls in a group, you should only add logically-related controls in a container. For example, controls in a tile should be placed in containers.