cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
LarsO
Level: Powered On

How to rotate just one NextArrow in a Gallery

Hello,

I've created a gallery with the items Milka, Nestle, Kinder and RitterSport. I want to rotate the NextArrow objects and open a TextInput with it. But when i open one of the four TextInputs it rotates all of my 4 NextArrows. Is there a way to just rotate one Arrow? I will put pictures donw below so you can know how it looks like atm. I've tried:

 

 

Rotation=


If(DieGallery.Selected.displayName = "Milka" && v = true; 180; If(DieGallery.Selected.displayName = "Nestle" && b = true; 180; If(DieGallery.Selected.displayName = "Kinder" && n = true; 180; If(DieGallery.Selected.displayName = "RitterSport" && m = true; 180))))

 

 

(v ,b, n and m are the visible status of the TextInputs)

 

Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Merlijn
Level 8

Re: How to rotate just one NextArrow in a Gallery

You can use the Gallery.selected (or IsSelected) property to specify your formula on the selected item in the gallery.

 

Formula should be like:

 

if(thisitem.isselected;Rotate or not)

View solution in original post

2 REPLIES 2
Merlijn
Level 8

Re: How to rotate just one NextArrow in a Gallery

You can use the Gallery.selected (or IsSelected) property to specify your formula on the selected item in the gallery.

 

Formula should be like:

 

if(thisitem.isselected;Rotate or not)

View solution in original post

LarsO
Level: Powered On

Re: How to rotate just one NextArrow in a Gallery

I did but it turns all arrows.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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