Need a way to open a view to occupy half of the screen.

Puri, Sahil 20 Reputation points
2024-01-27T06:57:59.9933333+00:00

I need a way to open a view to occupy half of the screen and the view should not be canncelled until any action performed. Also i am trying to open the view via shell which is showing a title bar at the top. Need a solution to fix this issue as well. Attached my code to navigate to the view below await Shell.Current.Navigation.PushModalAsync(new NavigationPage(new ContentPage { Content = new MyView() }));

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,900 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.