开发者

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 styl开发者_StackOverflow社区e certain parts of text as UPPERCASE, can anyone suggest any code that might do this. Perhaps a text convertor of some kind.


You might consider using a converter in your binding declaration


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜