[英]Customized Message Box in Windows Phone 8.1 WinRT application
I am not very much familiar with windows phone programming. 我对Windows Phone编程不是很熟悉。
I need a message box like this 我需要一个这样的消息框
I have figured out how to show simple message box. 我已经弄清楚了如何显示简单的消息框。 Mean I can show a title (Alert), Desc (Account number is required), and a OK button. 意思是我可以显示标题(警报),Desc(需要帐号)和“确定”按钮。
And now I don't know how to: 现在,我不知道如何:
Alert
text. 将颜色更改为Alert
文本。 Well by using toolkit described in this link I would be able to change the color of Alert text. 通过使用此链接中描述的工具包,我将能够更改警报文本的颜色。 But I don't to use a whole toolkit just to change the color or that text. 但是我不仅仅使用整个工具箱来更改颜色或文本。 But if it can customize my message box as in above picture than I would definitely use it. 但是,如果它可以像上图那样自定义我的消息框,那我肯定会使用它。
Look at the ContentDialog
class . 看一下ContentDialog
类 。 It will let you put whatever you want into a dialog. 它可以让您将所需的任何内容放入对话框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.