Recently a new experimental feature, Container Control, has been released in Power Apps.

Container Control

Once enabled an great update will be available to you from the Input menu. Note that it is still experimental, however this is a very valuable addition to the already great Power Platform.

Container Control in Input menu
Container Control in Input menu

When you add a container control to your app you will find quite quickly the benefits.

As shown below you can add controls to the container and initially you might think hat this is just the same as grouping with a new name.But a container is more.

Position relative to Container
Position relative to Container

Have you noticed the position of the Label1 control? it is set to X = 40 and Y = 40. This shows that the positioning is relative to the cotnainer ratehr than the screen.

Comparing this to the grouping of controls we will see that groups leave the controls inside a group use positioning relative to the screen.

Groups have positioning relative to Screen
Groups have positioning relative to Screen

Release a container

You can also release a container. This means that the container control is removed and the controls inside the container are positioned on the page again.

Release Container
Release Container

Converting groups into containers

Ok, many of your apps will have groups and these groups you may want t convert to containers as Containers will help you simplify your app. To do this select the group and then select the Add to container option.

Add to Container
Add to Container

This now converts the Group into a container and you can take advantage of the container control.

Group Converted to Container
Group Converted to Container

Nested Containers

Once you have created containers you can also create nested containers. All the same relative positioning options are still available inside the nested containers.

Nested Containers
Nested Containers

For more information

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-container

https://sharepains.com/2018/03/19/powerapps-grouping-fields-on-forms/


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Avatar of Pieter Veenstra

Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like. I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide. For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions. SharePains is not just any blog run by a Microsoft MVP. Have you ever used Try-Catch in Power Automate? The original post about Try-Catch in Power Automate can still be found on this site, https://sharepains.com/2018/02/07/try-catch-finally-in-power-automate-flow/ Or have you ever used the Pieter’s method to avoid variables and speed up your flows? https://sharepains.com/2020/03/11/pieters-method-for-advanced-in-flows/ You can contact me using contact@sharepains.com

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading