Power Apps Hack To Style All Form Controls In Seconds
Power Apps Hack To Style All Form Controls In Seconds Posted by - Matthew Devaney on - August 7, 2022 21 Comments This strange hack makes it possible to quic...
- Published
- Reading time
- 2 min read
Before you start
Is this guide for you?
- Best entry point
- Power Apps
- Time investment
- 2 min read
Imported reference from Matthew Devaney's blog for learning purposes. Original: https://www.matthewdevaney.com/power-apps-hack-to-style-all-form-controls-in-seconds/. Author: Matthew Devaney.
Power Apps Hack To Style All Form Controls In Seconds Posted by - Matthew Devaney on - August 7, 2022 21 Comments
This strange hack makes it possible to quickly update the style of all DataCardKeys and DataCardValues in a Power Apps form. Normally its simple to update multiple controls at once. Just select a group of controls then change the desired problem. But a Power Apps form makes it impossible to select multiple controls from different data cards… …unless you use this Power Apps hack !
Select the Power Apps form in the tree view
Change the form layout property from vertical to horizontal Click the undo button
Now all DataCardKeys and DataCardValues in the form are selected
Use the Tree View search to quickly unselect either the keys or values
Change any property of the remaining selected controls in one-click.
Let’s break this powerful tip down with a few helpful screenshots
Full Example : Style All DataCardKeys and DataCardValues In A Form
1. Select the Power Apps form in the Tree View Start by selecting the whole form.
2. Change the form layout property from vertical to horizontal
Go to the right-pane, select the Layout dropdown and choose horizontal . 3. Click the undo button
This trick only works if we click the undo button in the top right corner. Pressing Ctrl+Z to undo does not have the same effect.
4. Now all DataCardKeys and DataCardValues in the form are selected
We can see multiple controls are selected inside each of the form’s data cards.
5. Use the Tree View search to quickly unselect either the keys or values
Hold the CTRL button to deselect each control. It’s super fast if we use Tree View search to show only the controls we want to deselect.
6. Change any property of the remaining selected controls in one-click.
Success. We can now make as many changes as we want to all the DataCardKeys or DataCardValues in the form.
Credit for originally finding this trick goes to Martin Achermann . Did You Enjoy This Article? 😺
Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE Enter your email address Sign Me Up Questions?
If you have any questions about Power Apps Hack To Style All Form Controls In Seconds please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion. Matthew Devaney M365 Copilot Power Apps
How To Create Copilot Custom UI Widgets In Power Apps
Tagged
Power Apps
Have a Microsoft 365 topic idea?
Share article suggestions, community session ideas, corrections, or real-world scenarios for future nxtM365 learning notes.
Keep learning Microsoft 365
Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.
Continue learning
Related tutorials
Related questions
Related comparisons
Next action