cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
seadude
Level 10

GALLERY.LAYOUT?: How to access this property?

Hello,

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?

THanks!

1 REPLY 1
Super User
Super User

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

 

Regards,

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

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 316 members 5,419 guests
Please welcome our newest community members: