sneeze snoeze

sneeze snoeze

  • 1.6k
  • 40
  • 12.5k

Can I set more than one font size in a user-control ?

Apr 7 2022 10:19 AM

I have a usercontrol with some text in side.

I like to use 2 different font sizes in the user-control.

I like the font sizes to be set by the parent

This works when I use one font-size, and do not use style within the usercontrol.

<ItemsControl ItemsSource="{something}" FontSize="30" />

Can I set more than one font-size, using the FontSize attribute or another way.

 

Thank you

 


Answers (3)