I\'m making a Tic-Tac-Toe game for Windows Phone 8 and I want the game to play vs itself as a background for the main menu
private Button[] bts;
private List<
You cannot access the UI thread from any other thread directly. So, Encose your UI access code in the Dispatcher.BeginInvoke()
Dispatcher.BeginInvoke(() =>
{
foreach (Button i in bts)
i.Content = "";
});
For Windows Phone 8: http://msdn.microsoft.com/en-us/library/windows/apps/cc221403(v=vs.105).aspx