In WPF the below code opens a new window.
Window abc = new Window();
abc.Show();
But for MAUI window, I cant find the show option. How to open a window in MAUI?
var secondWindow = new Window {
Page = new MySecondPage {
// ...
}
};
Application.Current.OpenWindow(secondWindow);
https://devblogs.microsoft.com/dotnet/announcing-dotnet-maui-preview-11/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With