Problem: How to open the Settings screen programmatically in Windows Phone?
Solution: Use the ConnectionSettingsTask from the Microsoft.Phone.Tasks namespace.
C#
using Microsoft.Phone.Tasks; ConnectionSettingsTask task = new ConnectionSettingsTask(); task.ConnectionSettingsType = ConnectionSettingsType.WiFi;
task.Show();
VB
Imports Microsoft.Phone.TasksDim task as ConnectionSettingsTask = new ConnectionSettingsTask()
task.ConnectionSettingsType = ConnectionSettingsType.WiFi
task.Show()
- Available Connection Types:
- AirplaneMode
- Bluetooth
- Cellular
- WiFi
For a complete list of Choosers and Launchers go here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769542(v=vs.105).aspx




