I'm using Silverlight 4. I'd like a message box that prompts the user t开发者_开发问答o enter some text. Is this possible? So far, it looks like the only option is to ask the user to click a button.
You have to create a new Child Window in visual studio and build your input form in that child window.
Check out this project http://silverlightmsgbox.codeplex.com/. It presents a simple but presentable implementation of several useful message boxes i.e. confirm, error, info, user input, etc. and might be helpful to you. Good luck.
精彩评论