Tuesday, April 5, 2011

Silverlight: TextBlock has no Template property?

Guys,

I want to customize the look of a TextBlock. (I want a rounded rectangle border around it). But I'd like to be able to set it's template via the app.xaml

But I see that TextBlock doesn't have a Template property. I'd use Label (which does have a Template property) but I guess silverlight doesn't support a Label control.

So what can I use to do this? Thanks in advance.

From stackoverflow

0 comments:

Post a Comment