Silverlight: TextBlock has no Template property?

Posted by Shnitzel on Stack Overflow See other posts from Stack Overflow or by Shnitzel
Published on 2010-05-11T17:32:39Z Indexed on 2010/05/11 17:44 UTC
Read the original article Hit count: 234

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight