How can i change the public access specifier to internal of window.
<Window x:Class="MyName.MyWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
How to change access specifier from public to internal
internal partial class MyWindow : Window
{ ........................ }
this statement show error ... have conflicting accessibility modifiers. How can i achieve this in WPF?
Correct the both partial classes parts
You just have
internal partial class MyWindow : Window {
public class MyWindow {
Switch to
internal partial class MyWindow : Window {
internal class MyWindow {
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.