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

Grey out Image

In a gallery control with images, I would like to know if it's possible to grey out other images that are not selected. 

Eg. When an image is selected, it will be full color, and other images will be greyed out.

1 ACCEPTED SOLUTION

Accepted Solutions
JRaasumaa
Level 10

Re: Grey out Image


@CalvinHew wrote:

In a gallery control with images, I would like to know if it's possible to grey out other images that are not selected. 

Eg. When an image is selected, it will be full color, and other images will be greyed out.


 

You can change the transparency of the Gallery item selected to a higher amount to accomplish this.

 

For example:

 

In the Gallery on the Image set it's Transparency properties to:

 

If(ThisItem.IsSelected,0,.8)

 

Just an example but if you click a new item the Image will now show as fully shaded where the other items will be slightly gray.

View solution in original post

2 REPLIES 2
JRaasumaa
Level 10

Re: Grey out Image


@CalvinHew wrote:

In a gallery control with images, I would like to know if it's possible to grey out other images that are not selected. 

Eg. When an image is selected, it will be full color, and other images will be greyed out.


 

You can change the transparency of the Gallery item selected to a higher amount to accomplish this.

 

For example:

 

In the Gallery on the Image set it's Transparency properties to:

 

If(ThisItem.IsSelected,0,.8)

 

Just an example but if you click a new item the Image will now show as fully shaded where the other items will be slightly gray.

View solution in original post

CalvinHew
Level: Powered On

Re: Grey out Image

Thanks very much. It works Smiley Very Happy

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

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 (Last 30 Days)
Users online (2,824)