Published articles on other web sites*

Published articles on other web sites*

WPF vs. Silverlight - Part 7 - Case sensitivity


Silverlight in general seems less restrictive when it comes to your XAML. For instance case sensitivity. I was recently trying to use a class modifier on my UserControl using the following:
<UserControl x:ClassModifier=”Internal>
However this doesn’t work in WPF. It turns out that the "internal" keyword must be lower-case in WPF. Luckily this also works in Silverlight, so stick with the right casing and you’re good :-) 

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...