dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
602 stars 38 forks source link

[Question] Is there any way to compose an AppWindow with a Frame in desktop app? #28

Closed YesOhh closed 2 years ago

YesOhh commented 2 years ago

WinUI3 1.0.0 Desktop c#

In UWP, I can use ElementCompositionPreview.SetAppWindowContent(appWindow, new Page()); to set an AppWindow's content. However, this function doesn't exist in the WinUI3.

How can I compose an AppWindow with a Frame?

dotMorten commented 2 years ago

Frames goes in Windows, now AppWindows. I’d suggest you use the discussions section for questions, and keep generic WinUI questions in Microsoft’s repo or stack overflow, and keep focus here specific to WinUIEx