App settings sample

This sample demonstrates how to use the application settings API and settings flyouts to integrate an app's settings UI with the Settings charm.

 
 
 
 
 
(43)
76,501 times
Add to favorites
11/25/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to Internationalize the scenario 2?
    1 Posts | Last post April 10, 2013
    • I am trying to internationalize the Help SettingFlyout of the scenario 2, But I am having problems to discover where I have to put the command WinJS.Resources.processAll(); and what else need to be configured. I already put it into the onloaded and into the scenario2AddSettingsFlyout method, but the resource is not loaded in the Help, but works fine in the file 2-AddFlyoutToCharm.html. I am trying to change the line <div class="win-label">Help</div> for <div class="win-label"><span data-win-res="{textContent: 'greeting'}"></span></div> in the file 2-SettingsFlyout-Help.html, and I have a resource file with the string "greeting" : "Hello World!". Any clue about what is happening?
      
      Thank you for the attention,
      Anderson Neves
  • Re-opening settings crash the app
    1 Posts | Last post April 05, 2013
    • Go to the AddSettingsScenario class and add the following lines in the onSettingsCommand method:
      
      await CurrentApp.RequestProductPurchaseAsync("FeatureName", false);
      SecondaryTile.Exists("somestring");
      
      Reopening the Settings flyout crashes at some point...this thing is preventing my app from certifying
  • C# Textbox can't be reached if device uses virtual keyboard
    1 Posts | Last post January 29, 2013
    • When you open last scenario, you can see the textbox in the lower part of the settings panel. 
      But if you use only virtual keyboard, It covers this textbox. 
      How to make it visible during typing?
  • C++ code compiles with error
    3 Posts | Last post November 08, 2012
    • If I build the sample C++ code Visual Studio Express 2012 RC stops with 
      error C2039: 'WindowCreatedEventArgs' : is not a member of 'Windows::UI::Xaml'
    • getting same error
    • For me too
  • Xaml Example does not show setting panes
    5 Posts | Last post September 14, 2012
    • The Xaml example shows setting command links when the settings charm is invoked but it does not show any settings panes when the command links are clicked.
      Please show an example of how to associate a setting pane defined in Xaml.
    • Currently the SettingsFlyout controller seems only to be available from WinJS: http://msdn.microsoft.com/en-us/library/windows/apps/hh701253.aspx
      
      For a quick workaround, there's a 3rd party solution available in XAML: http://kuchenzeit.wordpress.com/2012/03/26/flyout-control-for-windows-8-metro-xamlc/
      
    • Consider this solution (discussion, library, and source):
      http://w8isms.blogspot.com/2012/07/charmflyout-another-charming.html
    •  It still not show any settings panes when the command links are clicked?
      Can provide some sample for it?
      
    • The C# sample now includes a XAML example of how to create a settings flyout and attach it to the settings charm.