Question

Before you set Visible to true, you can use DefaultWidth and DefaultHeight. But these don't work once the Window is visible. You can use WidthRequest and HeightRequest, but these prevent the user from shrinking the Window below the dimensions you set.

Is there any way to manually change the dimensions of a Window once it has been made visible, without enforcing minimum dimensions?

Was it helpful?

Solution

You can do this using the Resize (int width, int height) method.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top