Hello,
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.
Thanks,
Chris
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!
User | Count |
---|---|
253 | |
109 | |
92 | |
48 | |
37 |