开发者

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 {
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜