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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,154)