-
Hi guys, I am waiting for months to have the ability to create, open and show a new window in my WindowsApp, based on WinUi3. Today I found the preview release of WinUi 1.1 preview 1. And I got exited, because I assume I can now work with multiple windows easily. Becasue there are more and more things that let me think it should be possible and easy to do. On the other hand I still find this: When I search the internet I find articles for "how to" in UWP, but none of those mentioned methods are implemented. Am I blind? Stupid? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
And I am stupid. The window can be instantiated and simply by calling "Activate()" on it, it is shown. For an easily resizeable window class I strongly recommend this package: https://github.com/dotMorten/WinUIEx - with this I get everything I need (for the moment). |
Beta Was this translation helpful? Give feedback.
And I am stupid. The window can be instantiated and simply by calling "Activate()" on it, it is shown.
Nevertheless, the API for a Xaml window Window class and AppWindow class are different. An AppWindow allows to call Resize(), while the size of Xaml window is not so easy to change.
For an easily resizeable window class I strongly recommend this package: https://github.com/dotMorten/WinUIEx - with this I get everything I need (for the moment).