Mute by default when displaying MessageBox in WP7

Is there a way to mute the sound that Messagebox plays when it appears in WP7?

+5
source share
2 answers

You cannot change this behavior using the Silverlight MessageBox class. If, however, you use Guide.BeginShowMessageBox (from the XNA libraries) you can control the sound playback or not.

+4
source

No, currently you cannot turn off the sound that the class starts MessageBox. This is a function attached to the system, and if the device is not disconnected, sound will be played.

XNA async , ( ):

Guide.BeginShowMessageBox("Title", "Text", new List<string>() { "OK" }, 0, MessageBoxIcon.None, new AsyncCallback(YourCallback), null);

MessageBoxIcon , ( Windows Phone MessageBox).

: Microsoft.Xna.Framework.GamerServices.

+1

All Articles