Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Replace Yes/No control with image?



Is it possible to replace the Yes/No toggle control with an image?


For example, click on an image and its background colour changes from blue to red.

Where red equals yes and blue equals no.






Dual Super User II
Dual Super User II

Hi @sudosaurus 


To achieve such a behavior on the app, you can add the configuration in below manner:

1) Add the toggle control and set it fill property in a way where it is overlapping with the image but not showing anything. Set to RGBA(0,0,0,0)

2) On the fill property of the Image Control, add the below expression:

If(ToggleName.Value , Color.Red, Color.Blue)


Note: Color.Red will put red color whereas Color.Blue will show blue color.



Hope this Helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!




Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,049)