How can i change the Access Modifier of a Window from public to internal?
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/p开发者_StackOverflowresentation"
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 {
精彩评论