Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

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

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>