Question:
I have a problem with how to turn off the background in DisplayActionSheet or DisplayAlert in Xamarin Forms, so the only way the user can βexitβ pop-ups is with the parameters that the window caused.
Here is a screenshot of the problem: http://postimg.org/image/s16cp66wf/
Do you know if there is an easy way to do this? I searched, but could not find ....
I tried:
Using the methods that came with the control, but nothing else appeared. What I am doing now is to call him until I have an answer.
Code: From my code, I fire an event
async void OnNextClicked(object sender, EventArgs args) { await userValidations.RMLocationServiceWindow(); }
And then I call a popup
public async Task RMLocationServiceWindow () { string rta = null; while (rta == null) { rta = await App.Current.MainPage.DisplayActionSheet("Do you accept to use the service?", "Cancel", "Continue"); } }
I could not find anyone who would focus on the windows.
source share