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.Window
as the top-level window of theWinUI 3 Window
class?-------------------------------------
问题:为什么不直接使用
Microsoft.UI.Windowing.Window
作为WinUI 3 Window
类的顶层窗口?At present, the top-level window class name of the
Window
window under theWinUI 3 desktop
app isWinUIDesktopWin32WindowClass
, and the top-level window class name created by theAppWindow
class isMicrosoft.UI.Windowing.Window
, so why doesn'tWinUI 3
desktop version directly useAppWindow
create 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