开发者

WP7: Creating a non-network toast-like message inside an App?

Okay so the title might sound a bit confusing, but here's what I want to do: In the app im developing, I want to display a message to the user when he clicks a button, and then hide the message again shortly hereaf开发者_运维技巧ter - Just like a toast message in Android.

At the moment I use a MessageBox, but the fact that the user has to press an OK button to hide it again is anoying, so I was hoping there would be a way around this?


You can use the ToastRequestTrigger from the Silverlight Toolkit as described in the patterns & practices WP7 Developer Guide to display non-network toast messages. The Coding4Fun Library also provides a ToastPrompt class, which performs the ssame function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜