DisplayAlert with Entry

0

Is there any chance of getting a DisplayAlert with an Entry inside to collect data without using NuGet? Something like that ...

    
asked by edoman 02.05.2018 в 09:52
source

1 answer

0

The only way to do it without using libraries is that you create a visual control that is above, but hidden.

You put a Grid that occupies the entire screen, inside you put another Grid, which also occupies everything, with a black background and an opacity of 0.5 or so, to make the effect of darkening, and block the interface lower, and in the center you put your control with whatever you want.

By default you put it invisible, and when you need to use it, you make it visible. The cancel button clears it and hides it again, accepting the same but processing the data.

The same is silly, but remember that for something to be "over" something else, it has to be lower in the xaml.

    
answered by 02.05.2018 в 10:28