I am wondering what is the best way to allow a user to input text into a MessageDialog in a Windows 10 universal app.(Forgot password system). From the research I've done this doesn't seem possible with a MessageDialog but can be accomplished with a ContentDialog. So far I've found this site which explains roughly how to use the ContentDialog, but not with text input, and and this article on MSDN which does show how to use a textbox with a ContentDialog but the method shown seems quite complex to me.
So, does anyone know of any more simplistic way of doing this or is the MSDN way the simplest its going to get?
Thanks for any help
Nathan
Instead of Height=32, use this:
Yes, here's the strict minimum to achieve what you're looking for :
Page :
Dialog (code) :
Dialog (XAML) :
I use such function to request text from user:
and its usage: