Question:Why not just use Microsoft.UI.Windowing.Window as the top-level window of the WinUI 3 Window class? #10331
Gaoyifei1011
started this conversation in
General
Replies: 1 comment
-
|
As a complete guess, it could simplify the implementation for Islands. The only real difference would then have to be how the parent interacts with the window which contains the WinUI content. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question:Why not just use
Microsoft.UI.Windowing.Windowas the top-level window of theWinUI 3 Windowclass?-------------------------------------
问题:为什么不直接使用
Microsoft.UI.Windowing.Window作为WinUI 3 Window类的顶层窗口?At present, the top-level window class name of the
Windowwindow under theWinUI 3 desktopapp isWinUIDesktopWin32WindowClass, and the top-level window class name created by theAppWindowclass isMicrosoft.UI.Windowing.Window, so why doesn'tWinUI 3desktop version directly useAppWindowcreate a top-level window instead of creating a separate top-level window?目前 WinUI 3 桌面应用下的
Window窗口的顶层窗口类名是WinUIDesktopWin32WindowClass,而AppWindow类创建的顶层窗口类名是Microsoft.UI.Windowing.Window,所以WinUI 3桌面版为什么不直接使用AppWindow创建的顶层窗口而是单独创建一个顶层窗口?Beta Was this translation helpful? Give feedback.
All reactions