How to invoke the settings charm programmatically?

c#, microsoft-metro, windows-8

Solution

Check out the SettingsPane class: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.applicationsettings.settingspane.aspx

It seems like calling the Show() method will do the trick.

Problem

I want to invoke the settings charm from a click event.

Original source