Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

GALLERY.LAYOUT?: How to access this property?


When you insert a new Horizontal Gallery control, the TemplateSize property is set to:

If(Gallery1.Layout = Layout.Horizontal, Min(280, Gallery1.Width - 60), Min(280, Gallery1.Height - 60))

I'd like to try manipulating `Gallery1.Layout` and `Layout.Horizontal` in some formulas as part of responsive design.

.Layout does not appear in the property list for the Gallery (I do see it on the right under Properties, but "Horizontal" is not in the list).

Am I missing it or is .Layout not accessible in formulas?


Dual Super User II
Dual Super User II

Re: GALLERY.LAYOUT?: How to access this property?

Hi @seadude 


Gallery1.Layout is not a property that can be updated

It is read only


You can update the templatesize property based on screen size or some variable that you set



Reza Dorrani


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,677)