Skip to content

1.1 - New Window - How to set content (or still not possible?) #2348

Answered by TRadigk
TRadigk asked this question in Q&A
Discussion options

You must be logged in to vote

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).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TRadigk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant