cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Highlight Text Color of Gallery Selection

CarChoice is a variable set upon selection.

CS Body Text... is from my theme control panel for button colors

 

The button is inside of a gallery I collapsed to make a transparent reactive menu.  Button's OnSelect: Set(CarChoice,ThisItem)

 

I'm trying to get which is selected to be highlighted pink (CS Body Text Button_1.Color),

while the rest remain blue (CS Body Text Button_1.Color)

 

 

If(ThisItem.Vehicle_ID = CarChoice.Vehicle_ID,'CS Body Text Button_1'.Color,'CS Body Text Button'.Color)

 

 

z.PNG

 

Example 2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Highlight Text Color of Gallery Selection

Hi @Humanity ,

I don't follow exactly what you are doing, but the reference to get the Selected Item in a gallery is

ThisItem.IsSelected

Is this what you are after?

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Highlight Text Color of Gallery Selection

Hi @Humanity ,

I don't follow exactly what you are doing, but the reference to get the Selected Item in a gallery is

ThisItem.IsSelected

Is this what you are after?

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Highlighted
Helper V
Helper V

Re: Highlight Text Color of Gallery Selection

I love you. Thank you.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,350)