When I apply x:FieldModifier to my WPF control, eg:
<TextBox x:Name="textBox1" x:FieldModifier="Public"/>
visual studio (tried on 2008 and 2010) gives me the following error:
x:FieldModifier is not valid for the language C#
How can I solve this problem?
Edit: Sorry, I want to make it public...
use lower case 'public' not 'Public'