cancel
Showing results for
Did you mean:
Highlighted
Regular Visitor

## 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
Highlighted
Resolver I

## 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)

2 REPLIES 2
Highlighted
Resolver I

## 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)

Highlighted
Regular Visitor

## Re: How to rotate just one NextArrow in a Gallery

I did but it turns all arrows.

Announcements

#### August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

#### Super Users Coming in August

We are excited for the next Super User season.

#### Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

#### Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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