Modifies XAML compilation behavior, such that fields for named object references are defined with public access rather than the private default behavior.
XAML attribute usage
x:Name attribute must also be provided on the same element.
The value for the x:FieldModifier attribute will vary by programming language. Valid values are private, public, protected, internal or friend. For C#, Microsoft Visual Basic or Visual C++ component extensions (C++/CX), you can give the string value "public" or "Public"; the parser doesn't enforce case on this attribute value.
Private access is the default.
x:FieldModifier is only relevant for elements with an x:Name attribute, because that name is used to reference the field once it is public.
Note Windows Runtime XAML doesn't support x:ClassModifier or x:Subclass.