views:

249

answers:

2

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.

A: 

The Label control is not a part of Silverlight 2 rather it is a part of Silverlight Toolkit.

LBushkin
+8  A: 

one of the solution i found for this rounding border of text box is available in scott gu article :

alt text

http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-4-using-style-elements-to-better-encapsulate-look-and-feel.aspx

Pranay Rana