CLiown
CLiown

Reputation: 13843

Silverlight/XAML Convert text to upper case

Im working on a design in Blend 4 for Silverlight, however much of my text in the design needs to be in UPPERCASE.

It appears that Blend and XAML dont support this, I was wondering if its possible to do it in CSharp?

Basically I'd like to be able to style certain parts of text as UPPERCASE, can anyone suggest any code that might do this. Perhaps a text convertor of some kind.

Upvotes: 2

Views: 2953

Answers (2)

vc 74
vc 74

Reputation: 38179

You might consider using a converter in your binding declaration

Upvotes: 2

Mark
Mark

Reputation: 14930

Have you tried the caps-lock key on your kayboard ;) JK

You could easily create a Converter for this, but that would mean a fair amount of effort in binding all text fields to use a converter. Nothing dramatic, just a bit of overhead.

Upvotes: 0

Related Questions