Reputation: 619
I want to create a popup Message Dialog with a TextBox,that will send the input text to a variable,I didn't found good solutions in the net for the universal apps any help please and thanks
Upvotes: 0
Views: 267
Reputation: 7826
Use ContentDialog instead. Sample from Microsoft on github.
MessageDialog
is for simple messages only.
Upvotes: 1
Reputation: 75
I suggest you to use a ContentDialog or a Flyout with a TextBox as content. Then you only have to bind a variable to the TextBox's Text attribute. A bind can be done with
Text={x:Bind VariableName, Mode=TwoWay}
See the following links for further details:
Upvotes: 3