Changing View from public to internal with XAML (x:ClassModifier)

Hi,

I have a question regarding the internal XAML Class Modifier.

I tried to set it to x:ClassModifier="internal" or x:ClassModifier="NotPublic"
But by doing so I get the compiler error CS0262 (Partial declarations of 'type' have conflicting accessibility modifiers)
because I have already changed my codebehind file to internal also.

By looking at the *.g.cs File I see that the generated code is public partial class … so I think it is not respecting
that x:ClassModifier Keyword or I am doing something wrong here ?

Posts

Sign In or Register to comment.