带有输入框的对话框和两个用于在WP8中接受和取消的按钮 [英] Dialog with input box and two buttons to accept and cancel in WP8

查看:100
本文介绍了带有输入框的对话框和两个用于在WP8中接受和取消的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!


我必须显示一个带有输入提示的对话框,允许我插入文本。它应该是这样的:



我试过"Codding4Fun"工具箱,但我必须使用带有图片的文字no的按钮。


感谢您的帮助


编辑:


<我尝试使用Guide.BeginShowKeyboardInput(Microsoft.Xna.Framework.PlayerIndex.One,"Title goes here","Description goes here",null,new AsyncCallback(Value_Entered),null);但结果如下:



我需要在输入框下面显示不在键盘下方的按钮。


谢谢

解决方案


它很难为你提供确切的例子。


您可以尝试使用这些样本 -


弹出窗口中的用户输入按钮


http://msdn.microsoft.com/ en-us / library / system.windows.controls.primitives.popup%28v = vs.95%29.aspx


同时检查
this


Hello everyone!

I have to show a dialog box with an input prompt that allows me to insert text. It should be something like this:

I tried with the "Codding4Fun" toolkit but I have to use buttons with text no with image.

Thanks for your help

EDit:

I tried with Guide.BeginShowKeyboardInput(Microsoft.Xna.Framework.PlayerIndex.One, "Title goes here", "Description goes here", null, new AsyncCallback(Value_Entered), null); but the result is this:

I need show the buttons under the inputbox not under the keyboard.

Thanks

解决方案

Hi,

It is difficult to provide you exact example.

Probably you can try with these samples-

User input from a popup with a button

http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.popup%28v=vs.95%29.aspx

Also check this


这篇关于带有输入框的对话框和两个用于在WP8中接受和取消的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆