2

I am trying to create a popOverPage with transparent light black background color.. I set the background color to transparent color then also I am not able to see the previous page content...

I did something like this

        var popOverPage = new PopOverPage();

        Navigation.PushModalAsync(popOverPage);

And then on the nextPage.

 BackgroundColor = Color.Transparent;

But its not working.. It's showing background as white. Can You Please guide me how to do this.

Nilesh Jha
  • 1,626
  • 19
  • 35

1 Answers1

3

I did something like this in my project and that has worked pretty great, but it only works if you are using PushModalAsync() otherwise it just creates a solid background.

protected override void OnAppearing()
{
   base.OnAppearing();
   BackgroundColor = new Color(0, 0, 0, 0.5);
}
Keenan
  • 31
  • 2