I'm trying to change the size of the window in my Uno Platform application. I've gone through the official documentation and searched GitHub repositories for examples, but I couldn't find a solution that works for me.
I need to set the initial size of the window and possibly allow the user to resize it later.
Setting window size in MainWindow.xaml changes only the size of the GUI and not the program window.
public MainPage()
{
this.InitializeComponent();
this.Width = 800;
this.Height = 600;
}
I can't find an example for Uno Platform. I’m targeting Windows as the platform for now, but I’d like a cross-platform solution if possible.