cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Prodigy
Post Prodigy

If Yes make text bold on yes/no control

I have a requirement to make Text display as Bold on a Yes/No control.

 

Is this possible?

 

I am already using this code to display the text in Red if toggle is set to "Yes":

 

 

If(DataCardValue6.Value, Red, Black)

 

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Z
Super User
Super User

If you are changing it based on the toggle you would go to the FontWeight Property and do

If(DataCardValue6.Value,FontWeight.Bold,FontWeight.Normal)

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

View solution in original post

3 REPLIES 3
AJ_Z
Super User
Super User

If you are changing it based on the toggle you would go to the FontWeight Property and do

If(DataCardValue6.Value,FontWeight.Bold,FontWeight.Normal)

 



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

sudosaurus
Post Prodigy
Post Prodigy

Thanks @AJ_Z that did it! 😄

@sudosaurus I am glad I was able to help 🙂



Signature:


If you appreciated my comments/responses please be sure to Like/Kudo them it really does make me smile 🙂 !
Link to the Power Platform Professionals United Kingdom User Group:

https://powerusers.microsoft.com/t5/Power-Platform-Professionals/gh-p/PowerPlatformProfessionalsUnit...

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (1,605)